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

how can I know the position of the mouse's cursor??

This topic is 4958 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

#include <windows.h>
#include <stdio.h>

int main(int argc,char *argv[]){
printf("Cursor is at %i,%i\n",p.x,p.y);
return 0;
printf("Couldn't get cursor position\n");
return -1;

[edited by - TravisWells on May 20, 2004 1:06:48 PM]

Share this post

Link to post
Share on other sites