Show / Hide Table of Contents

Method wndChildFinder.Exists(+ 1 overload)


Overload

Finds the specified child control, like wnd.Child.

public bool Exists(wnd wParent)
Parameters
wParent  (wnd)

Direct or indirect parent window. Can be top-level window or control.

Returns
bool

If found, sets wndChildFinder.Result and returns true, else false.

Exceptions
AuWndException

Invalid wParent.

Remarks

Functions Find and Exists differ only in their return types.


Overload(top)

Finds the specified child control, like wnd.Child. Can wait and throw NotFoundException.

public bool Exists(wnd wParent, Seconds wait)
Parameters
wParent  (wnd)

Direct or indirect parent window. Can be top-level window or control.

wait  (Seconds)

The wait timeout, seconds. If 0, does not wait. If negative, does not throw exception when not found.

Returns
bool

If found, sets wndChildFinder.Result and returns true. Else throws exception or returns false (if wait negative).

Exceptions
AuWndException

Invalid wParent.

NotFoundException

Remarks

Functions Find and Exists differ only in their return types.