ON_UPDATE_COMMAND_UI
TRY
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

ON_UPDATE_COMMAND_UI 

This macro indicates which function will handle a user-interface update command message.


ON_UPDATE_COMMAND_UI(id, memberFxn )

Parameters

id

The message ID.

memberFxn

The name of the message-handler function to which the message is mapped.

There should be exactly one ON_UPDATE_COMMAND_UI macro statement in your message map for every user-interface update command that must be mapped to a message-handler function.

For more information and examples, see Message Handling and Mapping Topics.

Show:
© 2016 Microsoft