WM_TODAYCUSTOM_QUERYREFRESHCACHE

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

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

Return Value

Returns TRUE if the item needs to be updated, otherwise FALSE. If the item needs updating, the cyp member of the structure will be set to the height of the item.

Remarks

This message is also used for the item to set the cyp member of the TODAYLISTITEMstructure (which is initialized to 0) to the appropriate height. The item should set the height and return TRUE the first time the message is received and return FALSE after that.

Requirements

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

See Also

Reference

Home Screen Messages (Windows Mobile Professional)