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

mouse coords

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

How can you get to mouse to keep always in your apps window and that the left top of your window is 0,0 on the mouse? Because I tried the win32 thing with clipcursor but as soon as I resize the window it is undone and the mouse coord doesnt adjust it still takes your desktop size if you are in window mode. Do you need to use direct x for that or something else because if I can get relative coords for my window I can also check coords if I want to make a menu because now if I drag my window the coords are wrong and the entire menu doesnt work anymore.

Share this post

Link to post
Share on other sites