RSS: Site Feed Twitter: Visual Basic Facebook: Visual Basic
Is there a simple way to hide the mouse pointer (not cursor) using VB6 while temporarily displaying a form? Thanks, Mike
If you enjoyed this post, subscribe for updates (it's free)
You can hide the mouse using the ShowCursor API call
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Show mouse ShowCursor (True)
Hide mouse ShowCursor (False)
When the Form unloads always use ShowCursor (True) else you won't see the mouse again until you close VB.
<code>
<blockcode>
<foo>
[foo]
More information about formatting options
Hide Mouse
You can hide the mouse using the ShowCursor API call
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Show mouse
ShowCursor (True)
Hide mouse
ShowCursor (False)
When the Form unloads always use ShowCursor (True) else you won't see the mouse again until you close VB.
Post new comment