CommandUIHandler Delegate
Registers callback methods with a user interface update command message.
delegate void CommandUIHandler( unsigned int cmdID, ICommandUI^ cmdUI );
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.