共用方式為


REFLECTED_COMMAND_RANGE_HANDLER

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

REFLECTED_COMMAND_RANGE_HANDLER( 
      idFirst, 
      idLast, 
      func  
)

Parameters

  • idFirst
    [in] Marks the beginning of a contiguous range of control identifiers.

  • idLast
    [in] Marks the end of a contiguous range of control identifiers.

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

Requirements

Header: atlwin.h

See Also

Concepts

Message Map Macros (ATL)

ATL Macros

REFLECT_NOTIFICATIONS