CSliderCtrl::GetRange

Retrieves the maximum and minimum positions for the slider in a slider control.

void GetRange(
   int& nMin,
   int& nMax 
) const;

Parameters

  • nMin
    Reference to an integer that receives the minimum position.

  • nMax
    Reference to an integer that receives the maximum position.

Remarks

This function copies the values into the integers referenced by nMin and nMax.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetRangeMin

CSliderCtrl::GetRangeMax

CSliderCtrl::SetRange

Other Resources

CSliderCtrl Members