Toolbar problem

L

lencastro

Dear All,

I am creating outlook2000 add in using vc++6.

I planned to have different toolbar for compose window, reply window,
main window...

I have implemented new inspector handling method.
The invoke function is called whenever a window is opened.
but how can i differentiate the opened window is a compose window or
reply window or read window etc...

I have created the toolbar for main window inside OnConnection
method.is that a only way to create it.
 
D

Dmitry Streblechenko

If Inspector.CurrentItem.Sent is true, you arae looking at the sent or
received message. Otherwise you are in the compose mode. Check the subject
prefix (not 100% fiil proof of course) to see if it is a new item or
reply/forward.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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