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.

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

LV_DISPINFO, WM_NOTIFY

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.