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

  • Thread starter Thread starter Test
  • Start date Start date
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
 
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.
 
Back
Top