다음을 통해 공유


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

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::GetRangeMin

CSliderCtrl::GetRangeMax

CSliderCtrl::SetRange