Send Feedback

This 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.



  • pnmv
    Pointer to an LV_DISPINFO 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. The application must set the iGroupId member of the LVITEM structure.

Return Values



A list-view control sends the LVN_GETDISPINFO message 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 Common Controls Reference.


OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

LV_DISPINFO | WM_NOTIFY | List-View Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.