Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleHide and show the mouse pointer
Keywordshide mouse pointer, show mouse pointer, ShowCursor
CategoriesTips and Tricks, API
 
Use the ShowCursor API function.

To turn the mouse back on after you have hidden it using this program, press Tab to move to the Show Cursor button and then press Space.

Be sure to restore the cursor when you are finished or you'll make life miserable for the user.

 
Private Sub cmdHideCursor_Click()
    ShowCursor False
End Sub

Private Sub cmdShowCursor_Click()
    ShowCursor True
End Sub

Private Sub Form_Unload(Cancel As Integer)
    ShowCursor True
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated