次の方法で共有


UDM_SETBASE (Compact 2013)

3/28/2014

This message sets the radix base for an up-down control. The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned, and decimal numbers are signed.

Syntax

UDM_SETBASE wParam = (WPARAM) nBase; 
    lParam = 0;

Parameters

  • nBase
    New base value for the control. This parameter can be 10 for decimal or 16 for hexadecimal.
  • lParam
    Not used.

Return Value

The previous base value indicates success. Zero indicates that an invalid base was given.

Requirements

Header

commctrl.h

See Also

Reference

Up-Down Controls Messages
UDM_GETBASE