GetBase
Call this function to retrieve the current base for a spin button control.
int GetBase( )
The current base value
EX1
#include <Control.h> #include <..\OriginLab\DialogEx.h> #define IDC_SPIN1 1001 void SpinButton_GetBase(Dialog& MyDlg) { SpinButton m_spBtn = MyDlg.GetItem(IDC_SPIN1); int nBase = m_spBtn.GetBase(); }
Control.h