ON_UPDATE_COMMAND_UI
This macro indicates which function will handle a user-interface update command message.
Syntax
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.
Remarks
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.
Requirements
Header: afxole.h
See Also
MFC Macros and Globals
ON_MESSAGE
ON_REGISTERED_MESSAGE
ON_CONTROL
ON_COMMAND
CCmdUI Class