Hi Ken,
Should I then understand that every time an envelope is visible (In Word or
in Outlook), then I can't treat it as an email? (For example I can't save it
as an email)
To make myself understood, did you ask me also to disable my word add-in
every time I have an envelope visible?
Thank you for ur help.
"Ken Slovak - [MVP - Outlook]" wrote:
No, both addins are completely separate.
Any email related functionality should be implemented in the Outlook addin,
Word document functionality in the Word addin. When in the Outlook addin
handle Word.WindowActivate() to see which UI to enable/disable by checking
for Window.Envelope.visible == true (email item). Use that to enable/disable
your Outlook created UI. Use the same event in Word to enable/disable any
Word created UI.
That way both are independent and don't conflict with each other.
--
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
"Hichem Sarrai" wrote in message
...
Hi,
What I understand is that when the Envelope is visible, then I should
implement in my word-add the functionalities that are performed in my
outlook
add-in...
If yes, then how can I access field such as Subject, To, CC in the
envelope?
How to get the MailItem while I am in the word editor? how cas I save the
current document as an email (.msg)?
Thank you for you help?