CSpinButtonCtrl::SetBase See Also Send Feedback Updated: November 2007Sets 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. Res The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned; decimal numbers are signed.
事件为:UDN-DELTAPOS
有两个cspincontrol 控件!
ID:IDC_SPIN
ID:IDC_SPIN
------------------------
什么意思?对话框有一个CSpinButtonCtrl控件,怎么下面又有两个该控件,而且ID号码相同?
See Also Send Feedback
Updated: November 2007Sets 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. Res
The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned; decimal numbers are signed.
ID:IDC_SPIN2
怎么获取是哪个控件点击的!