LVN_ODCACHEHINT notification code

Sent by a virtual list-view control when the contents of its display area have changed. For example, a list-view control sends this notification code when the user scrolls the control's display. The LVN_ODCACHEHINT notification code is sent in the form of a WM_NOTIFY message.


    pCachehint = (NMLVCACHEHINT *) lParam;



Pointer to an NMLVCACHEHINT structure containing information about the range of items to be cached.

Return value

The application receiving this notification code must return zero.


Handling this message allows the application to update the item information held in cache so that it is readily available when an LVN_GETDISPINFO notification code is sent.

Note that this notification code is not always an exact representation of the items that will be requested by LVN_GETDISPINFO. Therefore, if the requested item is not cached while handling LVN_GETDISPINFO, the application must be prepared to supply the requested information from a source outside the cache.


Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]