Using spin/up-down control

Using spin/up-down control

I have a spin/up-down control along side a number of edit boxes.

As I change the spin control I want to update the values in the edit boxes.

How do I determine that the spin has changed.

I thought I did the following, but ire is returning the wrong number.
Any ideas what the problem is?

case (CM_NOTIFY)
ire=Send Message(GetDlgItem(hand,DC_SPIN1),UDM_GETPOS,0,0)



2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I have worked this out myself, the critical error (apart from the typing mistakes) was using LoWord to get the result


Leave a Comment

Please sign in to add a comment. Not a member? Join today