Jump to content
  • Advertisement
Sign in to follow this  
Jaguar_Lee

about mouse

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

Hello all, I get into trouble in geting the message WM_MOUSEMOVE in other window. The message WM_MOUSEMOVE is usually posted to the window which the mouse in. Now, I have a program with a window and I can't do anything to it. I want to get its WM_MOUSEMOVE message to use in other program. Give me a hand, please. Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Yup doynax is right, you want to use SetCapture() and ReleaseCapture() so you get the mouse imput even when the mouse is not over your window. I think a mouse hook might be a bit overkill for this [smile]

Share this post


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

  • 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!