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;
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.
No return value.
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.