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


COMMAND_CODE_HANDLER

Similar to COMMAND_HANDLER, but maps a WM_COMMAND message based only on the notification code.

COMMAND_CODE_HANDLER( code, func )

Параметры

  • code
    [in] The notification code.

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

Требования

Header: atlwin.h

См. также

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

Message Map Macros (ATL)

ATL Macros

COMMAND_ID_HANDLER

COMMAND_RANGE_HANDLER

MESSAGE_HANDLER

NOTIFY_CODE_HANDLER