Toolbar problem

  • Thread starter Thread starter lencastro
  • Start date Start date
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.
 
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
 
Back
Top