Method mouse.postClick
Overload
Posts mouse-click messages to the window.
public static void postClick(wnd w, Coord x = default, Coord y = default, MButton button = MButton.Left, RECT? rect = null)
Parameters
w (wnd)
Window or control. |
x (Coord)
X coordinate in w client area or rect. Default - center. Examples: |
y (Coord)
Y coordinate in w client area or rect. Default - center. |
button (MButton)
Can specify the left (default), right or middle button. Also flag for double-click, press or release. |
rect (RECT?)
A rectangle in w client area. If |
Exceptions
AuWndException
Invalid window. |
ArgumentException
Unsupported button specified. |
Remarks
Does not move the mouse. Does not wait until the target application finishes processing the message. Works not with all windows.