I'm having a bit of trouble moving the mouse.
I can move the mouse just fine, but it doesn't recognize the active window's boundaries.
Meaning... I tell it to move the mouse to the form's upper-left corner (0, 0), but it moves it to to the Screen's upper-left corner. Help?
Also, what's the best command to use to move the mouse?
So far I've found:
SetCursorPos(X, Y);
Mouse.CursorPos := TPoint;
and
Mouse_Event(MOUSEEVENTF_MOVE, TPoint.X, TPoint.Y, 0, GetMessageExtraInfo);
Are there any differences between the three?