sifting a bit for the network I saw that with this vb you can achieve what we seek:
ie a program that allow me to click the buttons to match the movement of the mouse and adjust the speed (win xp).
Assuming you're using VB NET, the thing you can do so fairly easily (and VB6, VBA code will be very similar)
1. First of all the functions that allow you to read / code set by the X and Y coordinates of the mouse pointer. Can be done with the use of 2 simple API calls and a "Punto" custom:
Code:
'Point Type:
Private Type PT
X As Long
Y As Long
End Type
Read pointer position:
Private Declare Function GetCursorPos Lib "User32" (As lpPoint PT) As Long
Set pointer position:
Private Declare Function SetCursorPos Lib "user32.dll" (ByVal X As Long, ByVal Y As Long) As Long
2. Ensure that the application is listening to press the keys you want, that should be given the movement of the pointer.
Typically you can use the arrow keys of 8 numeric keypad ...
Bookmarks