int GetPos( ) const;
Return Value
The current position in the low-order word. The high-order word is nonzero if an error occurred.
Remarks
Call this function to retrieve the current position of a spin button control. When it processes the value returned, the control updates its current position based on the caption of the buddy window. The control returns an error if there is no buddy window or if the caption specifies an invalid or out-of-range value.
CSpinButtonCtrl Overview | Class Members | Hierarchy Chart
See Also CSpinButtonCtrl::SetPos