Jump to content
  • Advertisement


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


mouse coords

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!