README.md
December 4, 2022 ยท View on GitHub
Description
This simple code hides the mouse pointer when you want to. (o:
More Info
Make a new project. Add a module. Add 2 Command Buttons.
| Submitted On | |
| By | SeeD |
| Level | Unknown |
| User Rating | 4.1 (98 globes from 24 users) |
| Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | Miscellaneous |
| World | Visual Basic |
| Archive File |
Source Code
'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: