COMMAND_RANGE_HANDLER

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

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

COMMAND_RANGE_HANDLER( idFirst, idLast, func )

See Also

ATL Macros and Global Functions, COMMAND_ID_HANDLER, COMMAND_CODE_HANDLER, MESSAGE_RANGE_HANDLER, NOTIFY_RANGE_HANDLER