Show / Hide Table of Contents

Method wndFinder.Exists(+ 1 overload)


Overload

Finds the specified window, like wnd.find.

public bool Exists()
Returns
bool

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

Remarks

Functions Find and Exists differ only in their return types.


Overload(top)

Finds the specified window, like wnd.find. Can wait and throw NotFoundException.

public bool Exists(Seconds wait)
Parameters
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 wndFinder.Result and returns true. Else throws exception or returns false (if wait negative).

Exceptions
NotFoundException

Remarks

Functions Find and Exists differ only in their return types.