I currently use the following to change my cursor position:
Public Declare Function SetCursorPos Lib "user32" _
(ByVal x As Long, ByVal y As Long) As Long
If you like these VB formatting tags please consider sponsoring the author in support of injured Royal Marines
I was wondering if there is a way so the cursor will set its position relative to the active window.
x=200 and y=300, instead of moving the cursor to 200 pixels from the upper left corner of the screen and 300 pixels down, it
would move 200 pixels to the left and 300 down from the upper left corner of the active window.
could write something that does this myself if there is a method that get the location and maybe size of the active window
(or better yet an open window of my choice).