|
-
February 14th, 2003, 04:56 AM
#1
Questions regarding CSpinButtonCtrl
I have created a few CSpinButtonCtrl in the dialog boxes.
Using the UDN_DELTAPOS message, I will be able to determine whether the user has pressed on the up or down arrow of the control. The iDelta in the NMUPDOWN struct will return +1 when the user clicks on the up arrow while it will return -1 when the user clicks on the down arrow of the spin control.
This works out out fine for the CSpinButtonCtrl that i have created except for 1 which is created for the mainframe. This spin control will return iDelta = -1 when the user clicks on the up button while it will return iDelta = +1 when the user clicks on the down button.
Does anybody knows whats the problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|