Hiding or Unhiding mousepointer from VB

There is an API function to make the mouse pointer visible or invisible. It is ShowCursor, call this function by sending 'True' to make mousepointer visible and 'False' to make it invisible.

'** Include this statement in declaration
Public Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As Long) As Long

Dim lRetVal as Long

'Call the function to make mousepointer visible
lRetVal=ShowCursor(True)

'Call the function to make mousepointer invisible
ShowCursor(False)

Note: Be aware that windows mouse pointer is a shared object, so if your process hides it then it must also redisplay it as well.