LVN_GETDISPINFOLVN_GETDISPINFO*
*Contents  *Index  *Topic Contents
*Previous Topic: LVN_ENDLABELEDIT
*Next Topic: LVN_GETINFOTIP

LVN_GETDISPINFO


LVN_GETDISPINFO 
    pnmv = (LPNMLVDISPINFO) lParam; 

Sent by a list view control to its parent window. It is a request for the parent window to provide information needed to display or sort a list view item. This notification message is sent in the form of a WM_NOTIFY message.

pnmv
Address of an NMLVDISPINFO structure. On input, the LVITEM structure contained in this structure specifies the type of information required and identifies the item or subitem of interest.
Use the LVITEM structure to return the requested information 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 information and will not ask for it again.

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

For more information on list view callbacks, see Callback Items and the Callback Mask.

See also LVN_SETDISPINFO


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.