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

CommandHandler Delegate

Registers callback methods with a command source.

delegate void CommandHandler(
   UINT^ cmdID
);

cmdID

The command ID.

This delegate registers callback methods with a command source. When you add a delegate to the command source object, the callback method becomes a handler for commands coming from the specified source.

For more information, see How to: Add Command Routing to the Windows Forms Control.

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