Jump to content
  • Advertisement
Sign in to follow this  
Halsafar

DirectInput Mouse won't stay exclusive after lost device

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

Okay, exlusive mode is used to have the mouse be subclassed out of the message pump thus stopping all messages to the message pump and completly hiding the cursor. Well it works fine until I alt+tab outta fullsceen, then go back, even after re-setting the cooperate level, the mouse cursor still remains on the screen. It all still works fine, but the cursor just comes back and I cannot get it to go away now...

Share this post


Link to post
Share on other sites
Advertisement
Yes, but I do not believe ShowCursor acts like Dinput does when you call up the mouse in Exclusive mode.

Exclusive mode subclass' the mouse input from the message pump so the message pump stops recieving those WM_MOUSE### messages.

ShowCursor just hides the cursor...

Can anyone confirm this?

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!