Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
COMMAND_ID_HANDLER
Collapse the table of content
Expand the table of content

COMMAND_ID_HANDLER

Similar to COMMAND_HANDLER, but maps a WM_COMMAND message based only on the identifier of the menu item, control, or accelerator.

COMMAND_ID_HANDLER( id, func )

Parameters

id
[in] The identifier of the menu item, control, or accelerator sending the message.
func
[in] The name of the message-handler function.

See Also

Message Map Macros | ATL Macros | COMMAND_CODE_HANDLER | COMMAND_RANGE_HANDLER | MESSAGE_HANDLER | NOTIFY_ID_HANDLER

Show:
© 2015 Microsoft