Show / Hide Table of Contents

Method elm.PostClickR


Overload

Posts mouse-right-click messages to the container window, using coordinates in this UI element.

public void PostClickR(Coord x = default, Coord y = default)
Parameters
x  (Coord)

X coordinate in the bounding rectangle of this UI element. Default - center. Examples: 10, ^10 (reverse), .5f (fraction).

y  (Coord)

Y coordinate in the bounding rectangle of this UI element. Default - center.

Exceptions
AuException
  • Failed to get rectangle or container window.
  • The element is invisible/offscreen.

Remarks

Does not move the mouse. Does not wait until the target application finishes processing the message. Works not with all elements. Try this function when elm.Invoke does not work and you don't want to use MouseClick.