Share via


LVM_FINDITEM

This 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 LVFINDINFO structure that contains data about what to search for.

Return Values

The index of the item indicates success. –1 indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_FindItem | LV_FINDINFO | LVFINDINFO | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.