Share via


LVN_ODCACHEHINT (Compact 2013)

3/28/2014

This 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 message when the user scrolls the control display. This message is sent in the form of a WM_NOTIFY message.

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 Value

The application receiving this message 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 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.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Notifications
List-View Controls Messages
WM_NOTIFY