WinXGetMousePos (hWnd, @x, @y)
Gets the position of the mouse
Parameter | Description |
---|---|
hWnd | The handle to the window to get the coordinates relative to. If this parameter is 0 the returned coordinates are relative to the screen. |
@x | A variable to receive the x coordinate of the mouse position |
@y | A variable to receive the y coordinate of the mouse position |
$$TRUE on success or $$FALSE on fail
none
' Find out where the mouse is WinXGetMousePos (#hMain, @x, @y) PRINT "The mouse is at: ";x;", ";y |