Sign in to follow this  

Disable Cursor

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