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.
Header file: | Winuser.h |
Windows CE versions: | 2.01 and later |
WM_WININICHANGE
wParam = SPI_APPBUTTONCHANGE;
lParam = 0;
None.
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.
RegisterHotKey, SHGetAppKeyAssoc