LVN_ODFINDITEM message

Sent by a virtual list-view control when it needs the owner to find a particular callback item. For example, the control will send this notification code when it receives shortcut keyboard input or when it receives an LVM_FINDITEM message. The LVN_ODFINDITEM notification code is sent in the form of a WM_NOTIFY message.

LVN_ODFINDITEM

    pFindInfo = (PNMLVFINDITEM) lParam;

Parameters

lParam

Pointer to an NMLVFINDITEM structure that includes information to be used for the search.

Return value

Return the index of the item found, or -1 if no item is found.

Remarks

Search information is sent in the form of an LVFINDINFO structure, which is a member of the NMLVFINDITEM structure.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
LVN_ODFINDITEMW (Unicode) and LVN_ODFINDITEMA (ANSI)