• Advertisement

Archived

This topic is now archived and is closed to further replies.

getting cursor position

This topic is 6486 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
BOOL GetCursorPos(
LPPOINT lpPoint // address of structure for cursor position
);

typedef struct tagPOINT {
LONG x;
LONG y;
} POINT;

/sixb0nes

Share this post


Link to post
Share on other sites

  • Advertisement