Condividi tramite


NOTIFY_RANGE_CODE_HANDLER

Similar to NOTIFY_RANGE_HANDLER, but maps WM_NOTIFY messages with a specific notification code from a range of controls to a single handler function.

NOTIFY_RANGE_CODE_HANDLER( 
   idFirst, 
   idLast, 
   cd, 
   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.

  • cd
    [in] The notification code.

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

Remarks

This range is based on the identifier of the control sending the message.

Requirements

Header: atlwin.h

See Also

Reference

NOTIFY_ID_HANDLER

NOTIFY_CODE_HANDLER

REFLECTED_NOTIFY_CODE_HANDLER

COMMAND_RANGE_HANDLER

MESSAGE_RANGE_HANDLER

Other Resources

Message Map Macros (ATL)

ATL Macros