-
July 23rd, 2001, 10:56 AM
#1
about GET_X_LPARAM
Hello,when I use macro GET_X_LPARAM() and GET_Y_LPARAM(),the compiler said that it is undefine,but i have included the windows.h following msdn,what was wrong indeed?
-
July 23rd, 2001, 11:07 AM
#2
Re: about GET_X_LPARAM
i don't know what was wrong
just use it HIWORD and LOWORD
IIRC
QSoft
http://qsoft.ragestorm.com
-
February 28th, 2013, 07:57 PM
#3
Re: about GET_X_LPARAM
But from the MS DOC:
Important Do not use the LOWORD or HIWORD macros to extract the x- and y- coordinates of the cursor position because these macros return incorrect results on systems with multiple monitors. Systems with multiple monitors can have negative x- and y- coordinates, and LOWORD and HIWORD treat the coordinates as unsigned quantities.
-
February 28th, 2013, 07:59 PM
#4
Re: about GET_X_LPARAM
GET_X_LPARAM is in Windowsx.h
-
March 1st, 2013, 05:30 PM
#5
Re: about GET_X_LPARAM
After 12 years, I hope the OP found it!
Viggy
-
March 1st, 2013, 09:23 PM
#6
Re: about GET_X_LPARAM
How did it get so late so soon?
In my defence though, since I came accross this, others would have done so too - and the reply as it stood would (and probably did) have caused more problems.
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
|