Skip to main content

LeftClickLHS

Left click top left side of the control.

void LeftClickLHS();
void LeftClickLHS(int moveRight, int moveDown);

Parameters

moveRight: x offset relative to the left hand side of the control.

moveDown: y offset relative to the top of the 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 control.

Example

private Control notepadWindow;
notepadWindow = FindTopWindow("Untitled - Notepad");
notepadWindow.LeftClickLHS(10,15);

Related: