Method MoveMouseBy
MoveMouseBy(IWindowHandle, int, int)
Simulates a mouse movement by the specified distances relative to its current position.
Declaration
public abstract void MoveMouseBy(IWindowHandle hwnd, int pixelDeltaX, int pixelDeltaY)
Parameters
Type | Name | Description |
---|---|---|
IWindowHandle | hwnd | The handle of the window where the mouse movement is to be simulated. |
int | pixelDeltaX | The horizontal distance, in pixels, that the mouse should move from its current position. |
int | pixelDeltaY | The vertical distance, in pixels, that the mouse should move from its current position. |