Tom J Nowell
Tom J Nowell

Reputation: 9981

Hiding the Cursor

I have a windows program with directx/opengl renderers, and a custom mouse rendered as a quad. The program currently runs windowed.

The problem is the standard windows mouse is overlaid ontop of my custom cursor. How do I hide it when its inside my window?

Upvotes: 4

Views: 4507

Answers (1)

Nick Dandoulakis
Nick Dandoulakis

Reputation: 43130

Try ShowCursor(FALSE); when you init your window.

Upvotes: 9

Related Questions