How to recover information of the user according to his click ?

T

Test

Hello,

I have any questions about VSTO for Outlook 2007. I success to create a
button in my CommandBar (Standard) but if I want this button in my
Appointment for my Calendar, it doesn't exist. So my question is : is it
possible to have my button when I create an appointment ?

And my second question will be : how it's possible to know what the user is
clicking. For example, he click on an email : how to recover the subject,
description of this email.

Thanks for your help
 
K

Ken Slovak - [MVP - Outlook]

In Outlook 2007 you still can create CommandBar type objects in Inspectors
but the UI you create will be in the AddIns tab and won't appear in the
ribbon UI except in AddIns where each addin's UI has a separate group where
its UI resides. Creating UI that way is done exactly the same way it's done
in Outlook 2003 and earlier.

For Outlook 2007 Inspector UI you really should create ribbon controls and
not CommandBar controls. It fits better with the general Inspector UI and
won't be hidden in the AddIns tab.

There are a bunch of COM addin samples showing ribbon usage in VSTO in both
VB.NET and C# on the Office Online site at MSDN that you can download.
 

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