Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 2.03 KB

lvn-odfinditem.md

File metadata and controls

73 lines (42 loc) · 2.03 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
LVN_ODFINDITEM message (Commctrl.h)
Sent by a virtual list-view control when it needs the owner to find a particular callback item.
5a3f9fed-0c57-46bf-b986-ea8b54290b5e
LVN_ODFINDITEM message Windows Controls
apiref
LVN_ODFINDITEM
LVN_ODFINDITEMA
LVN_ODFINDITEMW
Commctrl.h
HeaderDef
reference
05/31/2018

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)