Skip to main content

RightClickLHS

Right click the top left hand side of the automation control.

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

Parameters

moveRight: 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 left hand corner of the automation control.

Example

AutomationControl notepadWindow = FindTopAutomationWindow("Untitled - Notepad");
notepadWindow.RightClickLHS();

Related: