【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.29.3 SpinButton::GetRange
Contents
Description
Call this function to retrieve the upper and lower limits (range) for a spin button control.
Syntax
void GetRange( int & nLower, int & nUpper )
Parameters
- nLower
- Reference to an integer that receives the lower limit for the control.
- nUpper
- Reference to an integer that receives the upper limit for the control.
Return
Examples
EX1
#include <Control.h> #include <..\OriginLab\DialogEx.h> #define IDC_SPIN1 1001 void SpinButton_GetRange(Dialog& MyDlg) { int nLower, nUpper; SpinButton m_spBtn = MyDlg.GetItem(IDC_SPIN1); m_spBtn.GetRange(nLower, nUpper); }
Remark
See Also
Header to Include
Control.h