Jump to content
  • Advertisement
Sign in to follow this  
Jaguar_Lee

about mouse

This topic is 5022 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!