Share via


CSpinButtonCtrl::GetRange

DWORDGetRange() const;

voidGetRange(int&lower,int&upper) const;

void GetRange32( int &lower, int &upper ) const;

Return Value

The first version returns a 32-bit value containing the upper and lower limits. The low-order word is the upper limit for the control, and the high-order word is the lower limit.

Parameters

lower

Reference to an integer that receives the lower limit for the control.

upper

Reference to an integer that receives the upper limit for the control.

Remarks

Call this function to retrieve the upper and lower limits (range) for a spin button control.

The member function GetRange32 retrieves the spin button control's range as a 32-bit integer.

CSpinButtonCtrl OverviewClass MembersHierarchy Chart

See Also   CSpinButtonCtrl::SetRange