This sample adds a simple command to the messaging client's menu. This sample demonstrates adding a menu command, adding a toolbar button, disabling and enabling the menu item and toolbar item depending on what object is selected in the viewer, making MAPI calls from an extension, extending a command in the Main Viewer and the Search Viewer dialog boxes, F1 response for context help on the menu item, and implementing custom ToolTip and Status Bar text.
Executable: | CMDEXT.DLL |
Directory for source code: | COMMAND.EXT |
Written in: | C++ |
Supports: | Win32 platforms only |
The custom command displays the number of subfolders, read messages, and unread messages in a selected folder.
This sample implements the IExchExt : IUnknown, IExchExtCommands : IUnknown, and IExchExtUserEvents : IUnknown interfaces.