🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
getting cursor position
whats the way to get the cursor pos in a win32 application?
and is there a way to make a particular function get called every time the mouse position changes?
ive left my microsoft programming book at school and we''re on break for quite a while, so how do you declare the varible that gets the cursor pos
? x;
fu = GetCursorPos(x);
maybe im way off, but this is how i did it in vb but it didnt have to be a special type
? x;
fu = GetCursorPos(x);
maybe im way off, but this is how i did it in vb but it didnt have to be a special type
BOOL GetCursorPos(
LPPOINT lpPoint // address of structure for cursor position
);
typedef struct tagPOINT {
LONG x;
LONG y;
} POINT;
/sixb0nes
LPPOINT lpPoint // address of structure for cursor position
);
typedef struct tagPOINT {
LONG x;
LONG y;
} POINT;
/sixb0nes
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement