View Single Post
  #4  
Old April 24th 09, 02:01 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook2007 and VSTO, handle the Click on the Save Button in the IPM.Note dialog HOWTO?

That's not what you asked in your original post. Write() fires when the user
clicks Save.

If you want to handle changes in the item you must sink the
item.PropertyChange() and .CustomPropertyChange() events. You can also sink
the Close() event.

You can look at the Object Browser to see what events are available to you
for any type of Outlook item.

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


"Michael Schmitz" wrote in message
...

"Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag
...
You will need to get a handle to the opened item in the NewInspector()
event of the Inspectors collection, then set up to handle the Write()
event of the opened item.


The Problem is that this Write Event only is fired if something has
changed in mail,
if nothing is changed nothing will happen.

So i need a diffrent event to actually make the change in the mail...

Any Ideas?

Regards

Michael



Ads