VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Drift mouse even when your hands are not on it.

by Imtiaz Ahmed (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 4th May 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Drift mouse even when your hands are not on it.

API Declarations


Private Const MOUSEEVENTF_MOVE = &H1 ' mouse move

Rate Drift mouse even when your hands are not on it.



'to 1000 and place this code in the timer event

Private Sub Timer1_Timer()
'API call to generate the mouse move
'increase the 2nd and 3rd parameters to increase the
'movement
Call mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0)
End Sub

Download this snippet    Add to My Saved Code

Drift mouse even when your hands are not on it. Comments

No comments have been posted about Drift mouse even when your hands are not on it.. Why not be the first to post a comment about Drift mouse even when your hands are not on it..

Post your comment

Subject:
Message:
0/1000 characters