Jump to content
  • Advertisement
Sign in to follow this  
domok

Disable Cursor

This topic is 3283 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, I need to disable the mouse in a fullscreen application. ShowCursor only hides the cursor, but I want to disable it entirely because you can still move the mouse to the upper right corner and click to close the window. When using DirectInput for mouse input in exclusive mode it disables the mouse exactly the way I want it. Do you know how to do that?

Share this post


Link to post
Share on other sites
Advertisement
You don't want to disable the mouse, you want to disable the system menu on your window - usually done by setting the window style to WS_POPUP. Even if you could disable the mouse completely, that'd totally screw up multiple-monitor systems.

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!