Jump to content
  • Advertisement


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



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

I dried to make a Screen Saver; and it is working well without the command WM_MOUSEMOVE. But if I use WM_MOUSEMOVE, the program terminates, although the mouse wasn''t moved. WM_MOUSEMOVE seems to give a signal every time. How can I make the Screensaver work correct and why doesn''t it like I want? Thanks for your helping !! :-) Matheass

Share this post

Link to post
Share on other sites
When you get the WM_MOUSEMOVE message the first time, save the mouse position...
then compare the new mouse position with the old one every time the message occurs


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!