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 when it is selected. The component also will get WM_ERASEBKGNDand WM_PAINTmessages, regardless of the Selectability value.

Syntax

WM_TODAYCUSTOM_RECEIVEDSELECTION

wParam = (WPARAM) 
nVirtKey;

lParam = (LPARAM) 
res;

Parameters

Parameter Description

nVirtKey

Contains the virtual key code of the keypad button used to navigate to this item.

res

This parameter is not used.

Return Value

Return TRUEif the custom Home screen item accepts the selection change; otherwise, return FALSEto pass the selection along to the next item.

Requirements

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

See Also