Share via


WM_TODAYCUSTOM_RECEIVEDSELECTION

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_ERASEBKGND and WM_PAINT messages, 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 TRUE if the custom Home screen item accepts the selection change; otherwise, return FALSE to 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

Reference

Home Screen Messages (Windows Mobile Professional)