VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Hide the Mouse Pointer EASY

by SeeD (22 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (24 Votes)

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

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

Rate Hide the Mouse Pointer EASY

'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:

Download this snippet    Add to My Saved Code

Hide the Mouse Pointer EASY Comments

No comments have been posted about Hide the Mouse Pointer EASY. Why not be the first to post a comment about Hide the Mouse Pointer EASY.

Post your comment

Subject:
Message:
0/1000 characters