2 out of 2 rated this helpful - Rate this topic

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.

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.

See Also

MFC Macros and Globals | ON_MESSAGE | ON_REGISTERED_MESSAGE | ON_CONTROL | ON_COMMAND | CCmdUI

Did you find this helpful?
(1500 characters remaining)