Advertisement

Mouse Coordinates

Started by April 16, 2001 06:40 AM
2 comments, last by Clouds3000 23 years, 10 months ago
Can someone tell me how to grab the mouse coordinates
It depends on your OS. You can use GetCursorPos in Windows.

"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/
Advertisement
Thanks, and what is the range of the mouse coordinated, ie-what is the mouse top left and bottom right coordinates?
Thanks again
The top left is 0,0 and the bottom right is whatever your resolution is (example: if you are in 640x480 it would be 640,480).




Open mouth, insert foot

This topic is closed to new replies.

Advertisement