WM_WININICHANGE

This message is sent to all active applications by the shell whenever the user changes the program button map through the Program Button dialog box.

At a Glance

Header file: Winuser.h
Windows CE versions: 2.01 and later

Syntax

WM_WININICHANGE
wParam = SPI_APPBUTTONCHANGE;
lParam = 0;

Parameters

wParam
Set to SPI_APPBUTTONCHANGE to reflect the change to the mapping of the Palm-size PC Program control.
lParam
Not used; set to zero.

Return Values

None.

Remarks

An application that automatically creates new documents when its program button is pressed and held down should call SHGetAppKeyAssoc and RegisterHotKey after receiving this message. These two functions are necessary to enable this “press and hold” ability of a program button.

See Also

RegisterHotKey, SHGetAppKeyAssoc