Поделиться через


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 )

Параметры

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

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

Требования

Header: atlwin.h

См. также

Основные понятия

Message Map Macros (ATL)

ATL Macros

COMMAND_CODE_HANDLER

COMMAND_RANGE_HANDLER

MESSAGE_HANDLER

NOTIFY_ID_HANDLER