I got this code:


Code:
Declare Function SetCursorPosition& Lib "user32" _
(ByVal x as long, ByVal y as long




Private Sub cmdMove_Click
SetCursor Pos 0,0
what that code does is puts the mouse at the position of 0,0


now lets say that when the user presses that button, I want the mouse to smoothly go over the the start Button

and then click it

I can figure out the coordinates for the start button, but how do I hake it go smoothly, and then click? please help


thanks in advance