LVM_FINDITEM

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

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 Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ListView_FindItem
LV_FINDINFO
LVFINDINFO
List-View Controls Messages