Method MoveMouseTo
MoveMouseTo(IWindowHandle, Point)
Simulates mouse movement to the specified location relative to window position.
Declaration
public override void MoveMouseTo(IWindowHandle hwnd, Point targetPosition)
Parameters
Type | Name | Description |
---|---|---|
IWindowHandle | hwnd | The handle of the window to which the movement should be relative. |
Point | targetPosition | The target position within the window where the mouse should be moved to. |
Overrides
Implements
MoveMouseTo(IWindowHandle, Point, Point, TimeSpan, TimeSpan, TimeSpan)
Declaration
protected void MoveMouseTo(IWindowHandle hwnd, Point targetPosition, Point allowedDelta, TimeSpan cursorCheckDelay, TimeSpan timeout, TimeSpan postMovementDelay)
Parameters
Type | Name | Description |
---|---|---|
IWindowHandle | hwnd | |
Point | targetPosition | |
Point | allowedDelta | |
TimeSpan | cursorCheckDelay | |
TimeSpan | timeout | |
TimeSpan | postMovementDelay |