ID Number: Q35930
2.x 3.00
WINDOWS
Summary:
In the Windows environment, there are two methods that an application
can use to receive notification that a key is pressed while a menu is
dropped down.
The easier method is to process the WM_MENUCHAR message that is sent
to an application when the user presses a key that does not correspond
to any of the accelerator keys defined for the current menu.
The other method is to use a message filter hook specified with the
SetWindowsHook function. The hook function can process a message
before it is dispatched to a dialog box, message box, or menu.
The hook functions and the WM_MENUCHAR message are documented in the
"Microsoft Windows Software Development Kit Reference--Volume 1."