ON_UPDATE_COMMAND_UI
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
This macro is usually inserted in a message map by ClassWizard to indicate which function will handle a user-interface update command message.
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 in Visual C++ Programmer’s Guide.
See Also ON_MESSAGE, ON_REGISTERED_MESSAGE, ON_CONTROL, ON_COMMAND, CCmdUI