Skip to main content

LeftClickRHS

Left click top right hand side of window.

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

Parameters

moveLeft: x offset relative to the right 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 right hand corner of the automation control. Negative numbers can be used to move outside the window.

Example

private AutomationControl notepadWindow;
notepadWindow = FindTopAutomationWindow("Untitled - Notepad");
notepadWindow.LeftClickRHS(10,15);

Related: