Show / Hide Table of Contents

Method wndFinder.FindInList


Overload

Finds the specified window in a list of windows, and sets wndFinder.Result.

public int FindInList(IEnumerable<wnd> a)
Parameters
a  (IEnumerable<wnd>)

Array or list of windows, for example returned by wnd.getwnd.allWindows.

Returns
int

Returns 0-based index, or -1 if not found.