Show / Hide Table of Contents

Method wnd.ChildFromXY(+ 1 overload)


Overload

Gets descendant control from point.

public wnd ChildFromXY(Coord x, Coord y, WXYCFlags flags = 0)
Parameters
x  (Coord)

X coordinate in client area or screen (if flag ScreenXY). Examples: 10, ^10 (reverse), .5f (fraction).

y  (Coord)

Y coordinate.

flags  (WXYCFlags)
Returns
wnd

By default returns default(wnd) if the point is not in a child control; it depends on flags.

Exceptions
AuWndException

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


Overload(top)

Gets descendant control from point.

public wnd ChildFromXY(POINT p, WXYCFlags flags = 0)
Parameters
p  (POINT)

Coordinates in client area or screen (if flag ScreenXY).

flags  (WXYCFlags)
Returns
wnd

By default returns default(wnd) if the point is not in a child control; it depends on flags.

Exceptions
AuWndException

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