Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Toolbar problem (http://www.outlookbanter.com/add-ins-outlook/48990-toolbar-problem.html)

lencastro May 24th 07 01:19 PM

Toolbar problem
 
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.


Dmitry Streblechenko May 27th 07 10:27 PM

Toolbar problem
 
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.





All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com