Status of word document / WordMail, Outlook 2000

N

Notre Poubelle

Hello,

I'm trying to automate Outlook by writing an Office Addin. Things
work pretty well until I test the case where the user is using Word as
their email editor. In this case, certain events and objects are not
available. (See MS KB 218298). The biggest problem I'm facing is when
using Outlook 2000. As noted in the MS KB, the NewInspector event
does not fire when Word is used as the editor under Outlook 2000.

I decided to make the Addin work with Word as well as Outlook. I'm
trying to setup my behaviour at the equivalent time of when the
NewInspector event fires. I registered for *all* the event in the
Word Application object. The Word events that got called when the
user clicks the New Mail Message button are:
- WindowActivate
- WindowSelectionChange
- WindowSize
- DocumentChange

Of course these events are called at various times other than when the
New Mail Message button is clicked. I can filter out the times when
Word is not acting as WordMail (thanks to MS KB 237338) but I'm having
trouble determining when any of these events are occuring because a
New Mail Message window is opening. I thought if I could query the
status of something in the Word document (or some Word property), I
could insert my desired addin behaviour only when needed.

Does anyone have any suggestions on how to handle Outlook 2000 when
using WinWord as the email editor?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top