The IExchExtCommands interface is implemented by extension objects to add and execute custom menu or toolbar command buttons. Extension objects can also replace existing Microsoft Exchange commands or enhance their behavior before Microsoft Exchange carries them out.
Use the operating system's native API to implement the methods given in the following table. For example, when implementing the IExchExtCommands::InstallCommands method for an extension object that will run in the Microsoft Windows 95 environment, the extension object must use the Microsoft® Win32® API structures, messages, and function calls for Windows 95 to manipulate menu or toolbar commands. IExchExtCommands is used in all contexts except EECONTEXT_SESSION, EECONTEXT_TASK, and EECONTEXT_PROPERTYSHEETS.
This interface is optional.
Header file: | EXCHEXT.H |
Exposed by: | Extension objects |
Implemented by: | Extension objects |
Called by: | Microsoft Exchange |
Corresponding pointer type: | LPEXCHEXTCOMMANDS |
InstallCommands | Enables an extension to install its menu commands or toolbar buttons. |
InitMenu | Enables an extension to update its menu items when the user begins using the menus. |
DoCommand | Carries out a menu or toolbar command chosen by the user. |
Help | Provides user Help for a command. |
QueryHelpText | Provides status bar or tool tip Help text for a command. |
QueryButtonInfo | Provides information about the extension's toolbar buttons. |
ResetToolbar | Enables an extension to restore its toolbar buttons to their default positions. |