Поделиться через


CSpinButtonCtrl::SetBase

Sets the base for a spin button control.

int SetBase(
   int nBase 
);

Parameters

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

Return Value

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

Remarks

The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned; decimal numbers are signed.

Requirements

Header: afxcmn.h

See Also

Reference

CSpinButtonCtrl Class

Hierarchy Chart

CSpinButtonCtrl::GetBase

Other Resources

CSpinButtonCtrl Members