Share via


CSpinButtonCtrl::SetBase

intSetBase(intnBase**);**

Return Value

The previous base value if successful, or zero if an invalid base is given.

Parameters

nBase

New base value for the control. It can be 10 for decimal or 16 for hexadecimal.

Remarks

Call this function to set the base for a spin button control. The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned; decimal numbers are signed.

CSpinButtonCtrl OverviewClass MembersHierarchy Chart

See Also   CSpinButtonCtrl::GetBase