ListView_FindItem macro (commctrl.h)

Searches for a list-view item with the specified characteristics. You can use this macro or send the LVM_FINDITEM message explicitly.

Syntax

void ListView_FindItem(
   hwnd,
   iStart,
   plvfi
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

iStart

Type: int

The index of the item after which to begin the search, or -1 to start from the beginning.

plvfi

Type: const LPLVFINDINFO

A pointer to an LVFINDINFO structure that contains information about what to search for.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h