Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Note:
This topic applies to the Windows Classic Home screen and not the Windows Default Home screen.

This message is sent to a custom Home screen item's window to determine whether the data pertaining to the item has been updated or not.

Syntax

WM_TODAYCUSTOM_QUERYREFRESHCACHE

wParam = (WPARAM) 
lptli; 

lParam = (LPARAM) 
res;

Parameters

lptli

A pointer to a TODAYLISTITEMstructure.

res

This parameter is reserved for future use; the value of this parameter must be set to 0.

Return Value

Returns TRUEif the item needs to be updated, otherwise FALSE. If the item needs updating, the cypmember of the structure will be set to the height of the item.

Remarks

This message is also used for the item to set the cypmember of the TODAYLISTITEMstructure (which is initialized to 0) to the appropriate height. The item should set the height and return TRUEthe first time the message is received and return FALSEafter that.

Requirements

Header todaycmn.h
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later

See Also