Export (0) Print
Expand All
MFC
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 Forms User Control in MFC.

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

Community Additions

ADD
Show:
© 2014 Microsoft