Search Tools Links Login

!!!*Hide the Mouse Pointer!! EASY!*!!!

Posted: 2002-06-01
By: ArchiveBot
Viewed: 163

Filed Under:

Visual Basic 6

No attachments for this post

This simple code hides the mouse pointer when you want to. (o:

Original Author: SeeD


Make a new project. Add a module. Add 2 Command Buttons.


'put this in your module
Declare Function ShowCursor& Lib "user32" _
(ByVal bShow As Long)
'Add this code to Command1.
Private Sub Command1_Click()
ShowCursor (bShow = True)
End Sub
'Add this to Command2.
Private Sub Command2_Click()
ShowCursor (bShow = False)
End Sub
'ok, that's it. (o:

Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.