Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
TRY
Expand Minimize

CommandUIHandler Delegate

Registers callback methods with a user interface update command message.

delegate void CommandUIHandler(
   unsigned int cmdID,
   ICommandUI^ cmdUI
);

cmdID

The command ID.

cmdUI

The command message ID.

This delegate registers callback methods with a user interface update command message. CommandUIHandler is similar to CommandHandler except that this delegate is used with user interface object update commands. User interface update commands should be mapped one-to-one with message handler methods.

For more information on using Windows Forms, see Using a Windows Form User Control in MFC.

Header: afxwinforms.h (defined in assembly atlmfc\lib\mfcmifc80.dll)

Community Additions

ADD
Show:
© 2015 Microsoft