View Single Post
  #3  
Old October 14th 08, 03:32 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Can not add CommandBar if "Word 2003 to read Rich Text e-mail" is selected.

Try waiting for the initial Inspector.Activate() event before you test for
IsWordMail() or try to get WordEditor or adding your UI. See if that helps.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


wrote in message
...
Additional Note :

Hi,
I am not facing the same issue, if i open new (mail) inspector (and
ofcourse "Word 2003 to edit e-mail" is selected), here also i am
receiving same "NewInspector" event and in this case, whatever
CommandBar i add to inspector gets added to the word editor, and
after this step if i open existing mail then also i can see this
CommandBar which i created while New (mail) Inspector. But issue is,
if i do not open New (mail) inspector first, and i open existing mail
first, this CommandBar is not added to word Editor.
I debugged and found out, once you open new (mail) inspector it gives
you Word Editor handle, but in existing mail it gives you Outlook
default editor handle.
why this kind of discrepancy is there i dont have any idea.

Thanks and Best Regards,
Nikhil Sharma


Ads