Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Toolbar problem

Geek News

Toolbar problem
lencastro <lencastro[ at ]gmail.com> 5/24/2007 12:19:10 PM
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.

Re: Toolbar problem
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 5/27/2007 9:27:54 PM
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" <lencastro[ at ]gmail.com> wrote in message
news:1180009150.183759.215460[ at ]q66g2000hsg.googlegroups.com...
[Quoted Text]
> 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.
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net