If, for some reason, you want to hide the mouse cursor (and I can't imagine why!), you can simply call the ShowCursor API call. To hide the cursor, call pHideCursor. To show the cursor, call pShowCursor. Don't forget to call pShowCursor when your program ends!
Option Explicit
Private Declare Function ShowCursor Lib "user32" (ByVal lShow As Long)
As Long
Public Sub pHideCursor()
ShowCursor False
End Sub
Public Sub pShowCursor()
ShowCursor True
End Sub
Comments