Skip to main content

LeftClickRHS

Left click top right hand side of control.

void LeftClickRHS();
void LeftClickRHS(int moveLeft, int moveDown);

Parameters

moveLeft: x offset relative to the right 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 right hand corner of the control.

Negative numbers can be used to move outside the control.

Example

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

Related: