Have your addin implements a handler for item.Write() so you can trap that
condition. You may also need to handle item.Close().

Signature
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
> hello
> I've shown separate Form region to contact form(not adjoining) through
[quoted text clipped - 9 lines]
>
> thanks in advance
sd - 21 Dec 2007 13:26 GMT
thanks ken
I implemented Item_write in addin.But if the user opens multiple
inspector windows then
do I've to take multiple Contactobjects?
thanks again
> Have your addin implements a handler for item.Write() so you can trap that
> condition. You may also need to handle item.Close().
[quoted text clipped - 20 lines]
>
> - Show quoted text -
Ken Slovak - [MVP - Outlook] - 21 Dec 2007 14:20 GMT
The way to handle multiple open Inspectors (or multiple open Explorers) is
with a wrapper class and collection of wrapper classes. Each class handles
events for its own Inspector and therefore doesn't interfere with handling
any other Inspector.
I have sample VS2005 projects for shared and VSTO addins for Outlook 2007
posted on my Web site that implement Inspector and Explorer wrappers. The
samples are available in both C# and VB.NET and would give you an idea of
how to handle things like that. You can check them out at
http://www.slovaktech.com/outlook_2007_templates.htm if you want.

Signature
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
thanks ken
I implemented Item_write in addin.But if the user opens multiple
inspector windows then
do I've to take multiple Contactobjects?
thanks again