次の方法で共有


COMMAND_CODE_HANDLER

 

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

Syntax

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

Message Map Macros (ATL)
ATL Macros
COMMAND_ID_HANDLER
COMMAND_RANGE_HANDLER
MESSAGE_HANDLER
NOTIFY_CODE_HANDLER