OL97: Cannot Customize or Disable Context Menus (294219)



The information in this article applies to:

  • Microsoft Outlook 97

This article was previously published under Q294219

SUMMARY

Outlook does not provide functionality to customize the context menus that appear when you right-click various parts of the program.

MORE INFORMATION

Outlook 97 does not support customizing menus and toolbars. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

155952 OL97: Cannot Customize Toolbars in Microsoft Outlook

However, if you are a developer, you can use the C/C++ programming language to develop a Microsoft Exchange Client Extension that can add a custom menu or toolbar command, but not to the context menus. For additional information on developing Exchange Client Extensions, search the MSDN Web site:
The Outlook object model does contain a CommandBars object that allows you to run menu and toolbar commands programmatically, but the context menus are not exposed as a menu like other menus and toolbars are. In addition, you cannot develop a Microsoft Exchange Client Extension using the C/C++ programming language to manipulate Outlook context menus.

Unlike some other Microsoft Office programs, Outlook generates the context menus dynamically and immediately before they are displayed. This behavior is different than that of Microsoft Word or Microsoft Excel, which support fully customizable menus and toolbars.

REFERENCES

For additional information about creating solutions with Microsoft Outlook, click the article numbers below to view the articles in the Microsoft Knowledge Base:

166368 OL97: Resources for Custom Forms and Programming

170783 OL97: Questions About Customizing or Programming Outlook


Modification Type:MinorLast Reviewed:3/1/2004
Keywords:kbinfo KB294219