Outlook inspector's AdxCommandBarButton appear in word

Add-in Express™ Support Service
That's what is more important than anything else

Outlook inspector's AdxCommandBarButton appear in word
 
Francis Baril




Posts: 21
Joined: 2009-12-14
Hi,

I'm developping an add-in that support Word and Outlook (Office 2003).

In word, I have a AdxMainMenu with some AdxCommandBarPopup and AdxCommandBarButton for the file Menu. The property supportedApp=Word.
In outlook, i have a AdxolInspectorMainMenu with some AdxCommandBarPopup and AdxCommandBarButton for the file menu in the inspector.

In each application, I see the components of the other.
In word, i see my Outlook inspector's buttons.
In my Outlook inspector, i see my Word's buttons.

I'm able to reproduce this problem when I create a new email in Outlook. My guess is that Outlook use Word for email editing and it add his components to the File menu.

How can i restrict buttons to appear only in the correct software?

Thanks,
Francis
Posted 16 Dec, 2009 11:21:43 Top
Andrei Smolin


Add-in Express team


Posts: 16607
Joined: 2006-05-11
Hi Francis,

Please see the following sample - http://www.add-in-express.com/files/projects_pub/hidewdandolcommandbars.zip.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Dec, 2009 13:34:12 Top
Francis Baril




Posts: 21
Joined: 2009-12-14
Thanks Andrei,

It's now correct!

Francis
Posted 17 Dec, 2009 09:27:16 Top