What is the best way to detect if Word is the email editor

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

What is the best way to detect if Word is the email editor
 
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Hi,

Is there a simple way to find if word is set as the default email editor?

I need to setup different toolbar if word is the email editor or not.

I tried the solution to check if the toolbar "Envelope" exists (this.FindCommandBarObj("Envelope")), but in the 2 cases it exists...

Thank you,

Thomas.
Thomas.
Posted 24 Feb, 2006 07:24:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7205
Joined: 2004-07-05
Hi Thomas.

You can create a new item in Outlook (Outlook._Application.CreateItem
) and check the Outlook._Inspector.EditorType property. The item should be removed after you have check it.
Posted 24 Feb, 2006 10:21:13 Top
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Thank you, it works perfectly.

Thomas.
Thomas.
Posted 27 Feb, 2006 05:01:46 Top