The LV_FINDINFO structure contains information used to search for a list view item.
typedef struct _LV_FINDINFO {
UINT flags;
LPCTSTR psz;
LPARAM lParam;
POINT pt;
UINT vkDirection;
} LV_FINDINFO;
|
Value |
Meaning |
|
LVFI_PARAM |
Searches based on the lParam member. The lParam member of the matching item’s LV_ITEM structure must match the lParam member of this structure. If this value is specified, all other values are ignored. |
|
LVFI_PARTIAL |
Matches if the item text begins with the string pointed to by the psz member. This value implies use of LVFI_STRING. |
|
LVFI_STRING |
Searches based on the item text. Unless additional values are specified, the item text of the matching item must exactly match the string pointed to by the psz member. |
|
LVFI_WRAP |
Continues the search at the beginning if no match is found. |
|
LVFI_NEARESTXY |
Finds the item nearest the specified position in the specified direction. |
The LV_FINDINFO structure is used with the LVM_FINDITEM message.