Inspector Warapper

G

goran

Hi,

I used example from microeye to create Outlook 2003 Add-in. This add-in adds
a new commandbar with a dropdown and command button to the Outlook toolbar.
Everthing is fine when I open multiple existing mails from Inbox. I see one
new commandbar with dropdown and a button in each inspector. But when I open
multiple new mail inspectors, than I see 2 commandbars in the second
inspector, 3 in the third etc. It looks like it carries command bars from
previously opened inspector into new one. I use Inspector wrapper class from
Ken and new email inspector opens in Word mail editor. NewInspector method
in OutAddin class calls AddInsp method from the bas module, where inspector
its added to collection and create control with unique tag in CreateMenus
metod.
I assign unique Tag for commandbar, dropdown and button in each inspector..
I call CreateMenus from Mail Open method in InspectorWrapper class. Any ideas?

Thanks in advance,

Goran
 

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