Discussion:
Word as Outlook email editor
(too old to reply)
Manikandan
2004-09-12 19:41:06 UTC
Permalink
Hi,

We have a common addin that will be called when Outlook, Word, Excel or
Powerpoint (office apps) is started.

When word is set as the default email editor in outlook, the tool bar is not
visible. If you right click and in the popup menu, we see our addin and if
you select it is visible. We have set the priority property for the
commandbar and popup bar control that is being used in this tool bar and
still it is not visible.

When you open word, it is visible all the time.

Can any one help how to set this visible for the email editor in outlook
when Word is set as the email editor.

Thanks
--
Manikandan
Shinya
2004-09-16 19:15:16 UTC
Permalink
This is solution for office com addin.

at the windowactive event, check if the current window has
the value Envelopevisible set to true. This was my solution, but
if there is better one please let me know.

Shinya

Private Sub wordDoc_WindowActivate(ByVal Doc As Word.Document, ByVal Wn As
Word.Window)

'check if current document has To/From/Subject bar
If Wn.EnvelopeVisible = True Then
msgbox "word editor is launched from outlook"
end if
Post by Manikandan
Hi,
We have a common addin that will be called when Outlook, Word, Excel or
Powerpoint (office apps) is started.
When word is set as the default email editor in outlook, the tool bar is not
visible. If you right click and in the popup menu, we see our addin and if
you select it is visible. We have set the priority property for the
commandbar and popup bar control that is being used in this tool bar and
still it is not visible.
When you open word, it is visible all the time.
Can any one help how to set this visible for the email editor in outlook
when Word is set as the email editor.
Thanks
--
Manikandan
Shinya
2004-09-17 01:16:57 UTC
Permalink
Second thought I neeeed better solution.

anyone can help us?

either vba or office com addin is ok

Shinya
Post by Shinya
This is solution for office com addin.
at the windowactive event, check if the current window has
the value Envelopevisible set to true. This was my solution, but
if there is better one please let me know.
Shinya
Private Sub wordDoc_WindowActivate(ByVal Doc As Word.Document, ByVal Wn As
Word.Window)
'check if current document has To/From/Subject bar
If Wn.EnvelopeVisible = True Then
msgbox "word editor is launched from outlook"
end if
Post by Manikandan
Hi,
We have a common addin that will be called when Outlook, Word, Excel or
Powerpoint (office apps) is started.
When word is set as the default email editor in outlook, the tool bar is
not
Post by Manikandan
visible. If you right click and in the popup menu, we see our addin and
if
Post by Manikandan
you select it is visible. We have set the priority property for the
commandbar and popup bar control that is being used in this tool bar and
still it is not visible.
When you open word, it is visible all the time.
Can any one help how to set this visible for the email editor in outlook
when Word is set as the email editor.
Thanks
--
Manikandan
Manikandan
2004-09-17 15:15:18 UTC
Permalink
Hi,

We can use Windows Activate event, but it is a costly event. So we are
trying for a different approach.

Thanks for your reply.

Mani
Post by Shinya
Second thought I neeeed better solution.
anyone can help us?
either vba or office com addin is ok
Shinya
Post by Shinya
This is solution for office com addin.
at the windowactive event, check if the current window has
the value Envelopevisible set to true. This was my solution, but
if there is better one please let me know.
Shinya
Private Sub wordDoc_WindowActivate(ByVal Doc As Word.Document, ByVal Wn As
Word.Window)
'check if current document has To/From/Subject bar
If Wn.EnvelopeVisible = True Then
msgbox "word editor is launched from outlook"
end if
Post by Manikandan
Hi,
We have a common addin that will be called when Outlook, Word, Excel or
Powerpoint (office apps) is started.
When word is set as the default email editor in outlook, the tool bar is
not
Post by Manikandan
visible. If you right click and in the popup menu, we see our addin and
if
Post by Manikandan
you select it is visible. We have set the priority property for the
commandbar and popup bar control that is being used in this tool bar and
still it is not visible.
When you open word, it is visible all the time.
Can any one help how to set this visible for the email editor in outlook
when Word is set as the email editor.
Thanks
--
Manikandan
Loading...