Condividi tramite


COMMAND_CODE_HANDLER

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

COMMAND_CODE_HANDLER( code, func )

Parameters

  • code
    [in] The notification code.

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

Requirements

Header: atlwin.h

See Also

Concepts

Message Map Macros (ATL)

ATL Macros

COMMAND_ID_HANDLER

COMMAND_RANGE_HANDLER

MESSAGE_HANDLER

NOTIFY_CODE_HANDLER