|
-
April 27th, 2010, 02:33 PM
#1
Passing 64bit int via Windows message
I need to send a private message from a control class back to my main window via PostMessage. This message needs to carry a 64bit int value that indicates the current position of the control. (it's a video control) The catch is that I'm pretty sure that WPARAM and LPARAM are both 32bit types, so I think I need to split the 64bit value between the two params and then recombine them in the message handler. Does that sound like the right way to handle this? If so how do you split a 64bit value between two 32bit params? If not how else would you handle it?
Thanks,
Dan
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
|