I have a C++Builder application in which I need to make the mouse cursor invisible. How can I do this?
I think it can be done using the Win32 API, but I don't know exactly how.
I have a C++Builder application in which I need to make the mouse cursor invisible. How can I do this?
I think it can be done using the Win32 API, but I don't know exactly how.
Call
ShowCursor(FALSE). If you need to restore the cursor later, callShowCursor(TRUE).Note that the cursor visibility is reference counted so you need to match every call passing
FALSEto one passingTRUE.