C# Make the cursor disappear
Question
I have a fullscreen c# application and I want that the cursor won't be visible while the user is in the application. (Controlling the application is solely with the keyboard)
Any one knows how to do such a thing?
PS : I prefer that the cursor will be completely unusable rather than "invisible" or "transparent"
Solution
I think the only option you'll have is to hide the cursor from what I can remember in the past
Cursor.Hide()
I had to do something similar to this in a touchscreen app in the past
OTHER TIPS
If you prefer the cursor to be completely unusable, then Cursor.Hide()
won't fulfill your requirements, because the cursor is only hidden but still clickable. You'll need to add something like this to disable clicking as well.
vb.net: Me.Cursor = Cursors.No c:.net: this.Cursor = Cursors.No