
moving the mouse to another position!
So you only have the X,Y Coordinates and want to click there without moving
the mousecursor there???
You can do it with the following function:
Declare Function WindowFromPoint Lib "user32" Alias "WindowFromPoint" (ByVal
xPoint As Long, ByVal yPoint As Long) As Long
So you have to call WindowFromPoint(x,y) and it will return the
WindowHandle! (hWnd)
To make a click there call the SendMessage function with this Hwnd! You have
to find out the parameters for a mouse click!
Its a specific message! I dont know it exactly.. ask somebody or look it up!
i hope i could help! cya
Quote:
> hi!
> i would like to know how to move a mouse pointer to a position on the
screen
> and then click the mouse ,
> without actually moving the mouse physically
> thanks in advance .
> lior