Right click menu

Z

Zdravko

Hi
It is possible to override or add cusom actions to rightclick menu (right
click on message) ?

Thank you
Zdravko
 
S

Sue Mosher [MVP]

In what Outlook version? Right-click on message where? In a folder view? In
the reading pane? In an open Inspector? Please be as specific as possible.
 
Z

Zdravko

Hi
I meant on message (there where are From, Subject, Received ...)
Middle part of a screen if you using preview pane positioned right
Right of folders ...
I do not know what is name of that part, but when you right click on
message,
there is popup menu:
Open
Print
Reply
Reply to all
.....

That popup menu I will override or add some custom entrys, for 2003 and 2007
version.

Thank you

(e-mail address removed)...
 
S

Sue Mosher [MVP]

Outlook has two "screens" -- the Explorer window to show folders and their
contents and the Inspector window to show an individual item. Your
description applies to the Explorer window.

In versions before Outlook 2007, Outlook does not directly expose the
right-click context menu in its CommandBars collection. Richard Kagerer has
posted a code sample at http://www.outlookcode.com/codedetail.aspx?id=314
that shows how you might trick Outlook into exposing the context menu through
Explorer.CommandBars. The C++ sample add-in at
http://www.codeproject.com/atl/outlook2k3addin.asp also shows a technique for
working with the context menu. Both that and the Kagerer sample, though, use
unsupported techniques.

Outlook 2007 provides Application-level events for the most commonly used
context menus. Outlook MVP Eric Legault provides an introduction at
http://blogs.officezealot.com/legault/archive/2007/07/03/20442.aspx

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top