Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a command handler to a command source object.
void AddCommandHandler(
unsigned int cmdID,
CommandHandler^ cmdHandler
);
Parameters
cmdID
The command ID.cmdHandler
A handle to the command handler method.
Remarks
This method adds the command handler cmdHandler to the command source object and maps the handler to cmdID.
See How to: Add Command Routing to the Windows Forms Control for an example of how to use AddCommandHandler.
Requirements
Header: afxwinforms.h