LVN_GETDISPINFO

This notification message requests a list view control parent window to provide data needed to display or sort an item. It is sent in the form of a WM_NOTIFY message.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

LVN_GETDISPINFO pnmv = (LV_DISPINFO FAR *) lParam;

Parameters

pnmv

Pointer to an NMLVDISPINFO structure. On input, the LVITEM structure contained in this structure specifies the type of data required and identifies the item or subitem of interest.

Use the LVITEM structure to return the requested data to the control. If your message handler sets the LVIF_DI_SETITEM flag in the mask member of the LVITEM structure, the list view control stores the requested data and will not ask for it again.

Return Values

None

Remarks

A list view control sends the LVN_GETDISPINFO notification to retrieve item data stored by the application rather than the control. The data can be text or icon data for an item. It can also be item state data. See the LVM_SETCALLBACKMASK message for more information on implementing item state on a callback basis.

For more information on list view callbacks, see the Windows CE User Interface Services Guide.

See Also

LV_DISPINFO, WM_NOTIFY