G
Guest
Hello all,
I have a next problem:
My Add-in adds a custom CommandBar with button into MailItem Inspector's
CommandBars object via NewInspector event. The MS Word editor is switched on.
It works properly.
But... If MS Word application was run before the MailItem Inspector was
opened (for example New Mail Message action), the Inspector's CommandBars
refers on MS Word application commandBar object !!!, therefor my custom
commandBar appears in MS Word application and action received from my custom
button from MS Word, not from Outlook MailItem Inspector.
What is wrong? How can I obtain Outlook Inspector CommandBar?
Regards,
Yuri
I have a next problem:
My Add-in adds a custom CommandBar with button into MailItem Inspector's
CommandBars object via NewInspector event. The MS Word editor is switched on.
It works properly.
But... If MS Word application was run before the MailItem Inspector was
opened (for example New Mail Message action), the Inspector's CommandBars
refers on MS Word application commandBar object !!!, therefor my custom
commandBar appears in MS Word application and action received from my custom
button from MS Word, not from Outlook MailItem Inspector.
What is wrong? How can I obtain Outlook Inspector CommandBar?
Regards,
Yuri