LeftClickLHS
Left click top left hand side of the automation control.
void LeftClickLHS();
void LeftClickLHS(int moveRight, int moveDown);
Parameters
moveRight:
x offset relative to the left hand side of the automation control.
moveDown:
y offset relative to the top of the automation control.
Return Value
None.
Remarks
The optional parameters can be used to offset the mouse cursor position from the top left hand corner of the automation control.
Example
private AutomationControl notepadWindow;
notepadWindow = FindTopAutomationWindow("Untitled - Notepad");
notepadWindow.LeftClickLHS(10,15);
);
Related: