The LVN_GETDISPINFO notification message is 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. The LVN_GETDISPINFO notification message is sent in the form of a WM_NOTIFY message.
LVN_GETDISPINFO
pnmv = (LV_DISPINFO FAR *) lParam;
Parameters
pnmv
Pointer to an LV_DISPINFO structure. On input, the LV_ITEM structure contained in this structure specifies the type of information required and identifies the item or subitem of interest.
Use the LV_ITEM 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 LV_ITEM.structure, the list view control stores the requested information, and will not ask for it again.
Return Values
No return value.
Remarks
A list view control sends the LVN_GETDISPINFO message for items for which the application stores callback information. The information can be the text or icon information stored for a callback item. It can also be item state information specified by the list view control's callback mask.
For more information, see Callback Items and the Callback Mask.
See Also