The CSpinButtonCtrl class provides the functionality of the Windows common spin button control. A spin button control, also known as an up-down control, is a pair of arrow buttons that a user can tap with the stylus to increment or decrement a value. An up-down control is most often used with a companion control, called a buddy window, in which the current value is displayed.
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, spin button controls can only be "buddies" with edit controls.
CSpinButtonCtrl Member Functions, Control Classes, CSliderCtrl, CSpinButtonCtrl::SetBuddy