Show / Hide Table of Contents

Method wnd.getwnd.SiblingAbove(+ 1 overload)


Overload

Gets nearest visible sibling control above this.

public wnd SiblingAbove()
Returns
wnd

default(wnd) if not found.

Exceptions
AuWndException

This variable is invalid (window not found, closed, etc).

Remarks

This function is used mostly with controls, but supports top-level windows too. Skips maximized/minimized windows and desktop.


Overload(top)

Gets a visible sibling control above this.

public wnd SiblingAbove(int distance, int xOffset = 5, bool topChild = false)
Parameters
distance  (int)

Vertical distance from the top of this control.

xOffset  (int)

Horizontal offset from the left of this control. If negative - to the left. Default 5.

topChild  (bool)

If at that point is a visible child of the sibling, get that child. Default false.

Returns
wnd

default(wnd) if there is no sibling.

Exceptions
AuWndException

This variable is invalid (window not found, closed, etc).

Remarks

This function is used mostly with controls, but supports top-level windows too.