Thread: Callbacks
View Single Post
  #2  
Old January 28th 08, 03:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Callbacks

Have you tried looking in the Object Browser for the Outlook object model?

Have you looked at the www.outlookcode.com Web site?

There's a very limited amount of information out there that explicitly uses
ATL/C++ with the Outlook object model so most examples will be in VBA, VB6,
VB.NET or C# code. There are some examples using Delphi and some using C++
but not many.

Opening a new email will fire the NewInspector event of the Inspectors
collection.

Each item (MailItem in this case) has events you can subscribe to for Close,
Send and Write.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
I have writen an Outlook 2007 Addin using ALT / C++, I have been tring to
find out how I can implement a callback for when the user creates a new
email, I also need callbacks for Sending, Closing and Saving an email. I
have
wasted 3 days searching the internet for this infomation. Where can I
found
any documentation about this?

Many thanks

Jason


Ads