Поделиться через


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;

Параметры

  • 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.

Возвращаемое значение

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.

Заметки

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CSpinButtonCtrl Class

CSpinButtonCtrl Members

Hierarchy Chart

CSpinButtonCtrl::SetRange