Share via


COMMAND_RANGE_HANDLER

COMMAND_RANGE_HANDLER( idFirst**,** idLast**,** func )

Parameters

idFirst

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

idLast

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

func

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

Remarks

Similar to COMMAND_HANDLER, but maps a range of messages to a single handler function. This range is based on the identifier of the menu item, control, or accelerator sending the message.

ATL Macros and Global Functions

See Also

COMMAND_ID_HANDLER, COMMAND_CODE_HANDLER, MESSAGE_RANGE_HANDLER, NOTIFY_RANGE_HANDLER