 |
|
|
|
| Author |
Message |
Jason
Joined: 12 Aug 2007 Posts: 11
|
Posted: Mon Jan 28, 2008 10:27 am Post subject: Callbacks |
|
|
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
Archived from group: microsoft>public>outlook>program_addins |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Mon Jan 28, 2008 3:50 pm Post subject: Re: 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 @microsoft.com...
>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 |
|
| Back to top |
|
 |
Jason
Joined: 12 Aug 2007 Posts: 11
|
Posted: Mon Jan 28, 2008 1:46 pm Post subject: Re: Callbacks |
|
|
Hi Ken,
Thanks for your reply, I have had a look at the object browser, tes I can
see trhe events I want to handle, but how do I implement then in C++?
The www.outlookcode.com site refers me to this discission group for more
information.
It is possible to do this using c++ so why is is so hard for Microsoft to
document how to do it?
Regards
Jason |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo
Joined: 12 Aug 2007 Posts: 405
|
Posted: Mon Jan 28, 2008 6:31 pm Post subject: Re: Callbacks |
|
|
I don't use C++, only VB/VB.NET/C#, so I can't answer specifically. I know
there is at least one sample using C++ on outlookcode.com and there are a
few others from MS. I don't have links, you'll have to search out the
samples yourself using something like Google.
--
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 @microsoft.com...
> Hi Ken,
>
> Thanks for your reply, I have had a look at the object browser, tes I can
> see trhe events I want to handle, but how do I implement then in C++?
>
> The www.outlookcode.com site refers me to this discission group for more
> information.
>
> It is possible to do this using c++ so why is is so hard for Microsoft to
> document how to do it?
>
> Regards
>
> Jason
>
>
|
|
| Back to top |
|
 |
|
|
| Related Topics: | Can't delete inbox mail "an unknown error has occurged." Maybe be a fix. I got this same error message today when trying to delete a message from my inbox and I have my mail account setup and running fine on my laptop for 4 months now with no problems.I am running Vista Premium. I have read the posts and people
Printing Charts in BCM How do you print charts in BCM? Only the imputted data prints, not the chart.
Forwarding Mail to Gmail I have my Window's mail set to forward all my messages to my Gmail account, which I check more frequently. I receive about 3 messages each day that do not get forwarded to Gmail and only show in Window's Mail. They have been forwards as wel
How do I set up Outlook to work with my ISP? I have tried and tried to have my email work with Outlook 2007, with no luck. I called tech support, but not much help there. I'm sure I'm just missing some vital step, but I've no clue what it could be. Does anyone have experience with us
Email address book I use Vista Home Premium. When I prepare an email, I no longer get prompted for names from my address book in the "TO' and "CC" portions. I have to scan the address book to select the recipients. Is there anyway to fix this? -- Ralph |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|