Partager via


MESSAGE_RANGE_HANDLER

Similar to MESSAGE_HANDLER, but maps a range of Windows messages to a single handler function.

MESSAGE_RANGE_HANDLER( 
   msgFirst, 
   msgLast, 
   func  
)

Parameters

  • msgFirst
    [in] Marks the beginning of a contiguous range of messages.

  • msgLast
    [in] Marks the end of a contiguous range of messages.

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

Requirements

Header: atlwin.h

See Also

Reference

COMMAND_RANGE_HANDLER

NOTIFY_RANGE_HANDLER

Other Resources

Message Map Macros (ATL)

ATL Macros