This macro is similar to COMMAND_HANDLER, but maps a WM_COMMAND message based only on the identifier of the menu item, control, or accelerator.
At a Glance
Header file: | Atlwin.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
COMMAND_ID_HANDLER( id, func )
See Also
ATL Macros and Global Functions, COMMAND_CODE_HANDLER, COMMAND_RANGE_HANDLER, MESSAGE_HANDLER, NOTIFY_ID_HANDLER