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
"lencastro" wrote in message
oups.com...
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.