共用方式為


REFLECTED_COMMAND_ID_HANDLER

Similar to COMMAND_ID_HANDLER, but maps commands reflected from the parent window.

REFLECTED_COMMAND_ID_HANDLER( 
      id, 
      func  
)

Parameters

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

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

Requirements

Header: atlwin.h

See Also

Concepts

Message Map Macros (ATL)

ATL Macros

REFLECT_NOTIFICATIONS