Skip to main content

SetCursorPosBottomRHS

Set the cursor position relative to the bottom right corner of the automation control.

void SetCursorPosBottomRHS();
void SetCursorPosBottomRHS(int moveLeft, int moveUp);

Parameters

moveLeft: x offset relative to the right side of the automation control.

moveUp: y offset relative to the right side of the automation control.

Return Value

None

Remarks

The optional parameters can be used to offset the mouse cursor position from the bottom right side of the automation control.

Example

private AutomationControl notepadWindow;
notepadWindow = FindTopWindow("Untitled - Notepad");
notepadWindow.SetCursorPosBottomRHS();

Related: