Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

getting cursor position

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 madmax22e   Members   

122
Like
Likes
Like

Posted 20 April 2000 - 03:40 AM

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?

#2 Promag   Members   

132
Like
Likes
Like

Posted 20 April 2000 - 10:30 AM

You can get the position with getcursorpos.

PROgrammer

#3 madmax22e   Members   

122
Like
Likes
Like

Posted 20 April 2000 - 03:07 PM

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



#4 sixb0nes   Members   

122
Like
Likes
Like

Posted 20 April 2000 - 04:02 PM

BOOL GetCursorPos(
LPPOINT lpPoint // address of structure for cursor position
);

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

/sixb0nes




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.