This notification message is 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 when the user scrolls the control display. This message is sent in the form of a WM_NOTIFY message.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
LVN_ODCACHEHINT pCachehint = (NMLVCACHEHINT *)lParam;
Parameters
pCachehint
Pointer to an NMLVCACHEHINT structure that contains data about the range of items to be cached.
Return Values
The application receiving this notification must return zero.
Remarks
Handling this message allows the application to update the item data held in cache so that it is readily available when an LVN_GETDISPINFO notification message is sent.
Note that this message 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 data from a source outside the cache.