COMMAND_RANGE_CODE_HANDLER
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

COMMAND_RANGE_CODE_HANDLER

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

COMMAND_RANGE_CODE_HANDLER( idFirst, idLast, code, 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.

code

[in] The notification code.

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

Show:
© 2016 Microsoft