LVM_FINDITEM

The LVM_FINDITEM message searches for a list view item with the specified characteristics. You can send this message explicitly or by using the ListView_FindItem macro.

LVM_FINDITEM

wParam = (WPARAM) (int) iStart;

lParam = (LPARAM) (const LV_FINDINFO FAR *) plvfi;

Parameters

iStart

Index of the item to begin the search with or -1 to start from the beginning. The specified item is itself excluded from the search.

plvfi

Pointer to an LV_FINDINFO structure that contains information about what to search for.

Return Values

Returns the index of the item if successful or -1 otherwise.

See Also

ListView_FindItem, LV_FINDINFO