You will need to add your command bar/buttons to the Inspectors, not just the Explorer(s). Use Application.Inspectors.NewInspector event to run your code whenever new inspector gets created. See http://www.outlookcode.com/d/comaddins.htm - there are a few sample COM addins listed thaat do just that.
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool
"tonyl" <tonyl[ at ]outblaze.com> wrote in message news:9d0a029615c18c8390521bac464[ at ]news.microsoft.com...
[Quoted Text] > Hi, > > I found that the outlook spy command bar can be put into the > appointment form, contact form, etc. > How to do it? I can only add the coommand bar in the outlook main window > (explorer) from add-in object written in C# or C++. > > If the command bar display in appointment form only? > > Regards, > Tony > >
|