Share via


COMMAND_ID_HANDLER

Similar to COMMAND_HANDLER, but maps a WM_COMMAND message based only on the identifier of the menu item, control, or accelerator.

COMMAND_ID_HANDLER( id, func )

Parameters

  • id
    [in] The identifier of the menu item, control, or accelerator sending the message.

  • func
    [in] The name of the message-handler function.

Requirements

Header: atlwin.h

See Also

Reference

COMMAND_CODE_HANDLER

COMMAND_RANGE_HANDLER

MESSAGE_HANDLER

NOTIFY_ID_HANDLER

Other Resources

Message Map Macros (ATL)

ATL Macros