• Advertisement
Sign in to follow this  

Mouse movement and DialogBoxes

This topic is 4765 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 have a Modeless dialog box running all the time and when I have the main window of the app selected and the modeless dialog box is not active I still get mouse movement when the cursor passes over it? How can I deactivate the mouse movement messages for the modeless dialog box so I can move the mouse over that window and not mess up my screen coords? Thanks

Share this post


Link to post
Share on other sites
Advertisement
The dialog box is supposed to receive mouse move events if the mouse moves over it. You can't turn them off, instead your code should simply ignore them, if you prefer, by doing nothing when they are not for your main window hwnd for example.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement