Method elm.MouseMove
Overload
Moves the cursor (mouse pointer) to this UI element.
public void MouseMove(Coord x = default, Coord y = default, int scroll = 0)
Parameters
x (Coord)
X coordinate in the bounding rectangle of this UI element. Default - center. Examples: |
y (Coord)
Y coordinate in the bounding rectangle of this UI element. Default - center. |
scroll (int)
If not 0, the function at first calls elm.ScrollTo. If it succeeds, waits scroll number of milliseconds (let the target app update the UI element rectangle etc). |
Exceptions
AuException
Failed to get UI element rectangle in container window (elm.WndContainer). |
Exception
Exceptions of mouse.move. |
Remarks
Calls mouse.move. To get rectangle in window, uses elm.GetRect with intersecttrue
.