Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleHide the cursor on a form
Keywordshide, form, cursor, mouse
CategoriesTips and Tricks
 
Set the form's MousePointer property to Custom.

To hide the cursor, set the form's MouseIcon property to a blank cursor image.

Private Sub cmdHideCursor_Click() frmHide.MouseIcon = Picture2.Picture End Sub

When it doesn't hide the cursor, this program sets it to a small dot.

Thanks to E C Martin

 
Private Sub cmdHideCursor_Click()
    frmHide.MouseIcon = Picture2.Picture
End Sub
Private Sub cmdShowCursor_Click()
    frmHide.MouseIcon = Picture1.Picture
End Sub
 
Formatted by Neil Crosby
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated