View Single Post
  #8  
Old July 6th 09, 02:10 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Implementing Drag and drop events in outlook

You'd have to research that yourself, I'm not familiar with any such
examples.

I can see NewMailEx() firing when items are downloaded from the Exchange
server on startup only if the profile is cached. If online the items are
already there in Inbox. I still have no idea why you'd see that event in the
other circumstances you mention.

--
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


"Ashish" wrote in message
...
You are correct it's NewMailEx(0xfba7) which is call when a new mail
receive in Inbox folder. Lets forget about NewMail(0xf003) it's not
related here and it's only call when we click on File-New Mail item in
outlook.
NewMailEx is called when user receives new mails in its inbox folder. Or
if user already contains some mails and we create its profile in outlook.
When we login to user NewMailEx is call which receive all existing
mails(which are on server) in outlook.

But in my outlook(user profile is created using exchange server) NewMailEx
is also called when after creating a new mail we save it, or we move an
existing mail from one folder to another.
So i still dont know by which action item_add event is called.
I think the only way(as per myknowledge) is to implement drag and drop.
You have already said it should do using windows API. I think i should
implement drag and drop in active inspector. I dont know how to do it. Is
there any link available on net?


Ads