Contents Index Topic Contents | ||
Previous Topic: ListView_EnsureVisible Next Topic: ListView_GetBkColor |
ListView_FindItem
int ListView_FindItem( HWND hwnd, int iStart, const LPLVFINDINFO plvfi );Searches for a list view item with the specified characteristics. You can use this macro or send the LVM_FINDITEM message explicitly.
- Returns the index of the item if successful, or -1 otherwise.
- hwnd
- Handle to the list view control.
- iStart
- Index of the item after which to begin the search, or -1 to start from the beginning.
- plvfi
- Address of an LVFINDINFO structure that contains information about what to search for.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.