开发者

Hiding the Cursor

开发者 https://www.devze.com 2022-12-13 09:50 出处:网络
I have a windows program with directx/opengl renderers, and a custom mouse rendered as a quad. The program currently runs windowed.

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 wind开发者_开发知识库ows mouse is overlaid ontop of my custom cursor. How do I hide it when its inside my window?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消