ATL
Expand Minimize
This topic has not yet been rated - Rate this topic

COMMAND_RANGE_HANDLER

Similar to COMMAND_HANDLER, but maps WM_COMMAND messages from a range of controls to a single handler function.

COMMAND_RANGE_HANDLER( idFirst, idLast, func )
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.

This range is based on the identifier of the menu item, control, or accelerator sending the message.

Header: atlwin.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.