Share via


CSpinButtonCtrl::GetRange

Retrieves the upper and lower limits (range) for a spin button control.

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

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.

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.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CSpinButtonCtrl Class

Hierarchy Chart

CSpinButtonCtrl::SetRange

Other Resources

CSpinButtonCtrl Members