共用方式為


REFLECTED_NOTIFY_HANDLER

Similar to NOTIFY_HANDLER, but maps notifications reflected from the parent window.

REFLECTED_NOTIFY_HANDLER( 
   id, 
   cd, 
   func  
)

Parameters

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

  • cd
    [in] The notification code.

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

Requirements

Header: atlwin.h

See Also

Reference

REFLECT_NOTIFICATIONS

Other Resources

Message Map Macros (ATL)

ATL Macros