intrigued_66
intrigued_66

Reputation: 17248

Insert outlook 2007 button within menu in C#?

In Outlook 2007 you have the navigation panel, consisting of "Mail","Calendar","Contacts","Tasks" etc (this is all below the tree structure).

1) Is it possible (and if so, how?) to insert another user-defined button between, say, "Mail" and "Calendar"?

2) Programatically, how could I minimise the main pane? So if I was in "Mail", the main pane would be "Inbox".

I have been using Add-in Express for customisation, but I dont believe it can do the above and could be a general .NET question.

Upvotes: 1

Views: 352

Answers (2)

Terry Mahaffey
Terry Mahaffey

Reputation: 11981

Do you mean create an additional button inside Outlook, or reuse the button styles/etc in a 3rd party application?

If you mean inside Outlook, then yes, Outlook 2010 (not 2007) provides some OM hooks to add 1 additional button here. It's called the Solutions module. If there is only one solution installed, the name of the button takes the title of the solution. If there are multiple solutions then the title reverts to "Solutions"

If you mean outside of Outlook, then no. It's not possible. These buttons are not COM components (in fact, they're not even proper HWNDs).

Upvotes: 1

SliverNinja - MSFT
SliverNinja - MSFT

Reputation: 31641

1.) You cannot create new Navigation Modules in the Navigation Pane. See MSDN forums for related question.

2.) An Outlook View Control will let you takeover the currently active view pane.

Upvotes: 0

Related Questions