• Advertisement

Archived

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

WM_MOUSEMOVE

This topic is 5556 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
Advertisement
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

GA

Share this post


Link to post
Share on other sites

  • Advertisement