Partager via


LVN_ODCACHEHINT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

List-View Controls Notifications
List-View Controls Messages
WM_NOTIFY