SearchListBoxItem (Opus Funktion)
Beschreibung¶
Searches a list box for an item whose text matches Text and returns its index.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
hWnd | integer Handle | Handle auf das Fenster |
Text | String im Listbox Element | |
StartIndex | Startindex des Elementes |
Rückgabewert integer¶
Index des gefundenen Elementes zero-based index of the first matching item, or -1 if no item matches. If hWnd is not a valid window handle no search is carried out and the returned value is undefined, so check the handle before calling.
Beispiel¶
xxx