How to add a custom column to mail explorer window that I can click on (like "followup" or "category" colunms)?

Add-in Express™ Support Service
That's what is more important than anything else

How to add a custom column to mail explorer window that I can click on (like "followup" or "category" colunms)?
 
frank c




Posts: 2
Joined: 2011-01-27
I am looking at the post http://www.add-in-express.com/forum/read.php?FID=1&TID=6147 and I have some additional questions:

How to add a custom column to mail explorer window that I can click on (like the build-in "followup" or "category" colunms)?

I want a way to act on a mail item in one click.
Posted 27 Jan, 2011 00:44:15 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Frank,

I would suggest adding a boolean field and trying to set the <Editable> and <InCellEdit> attributes to 1 in the View.XML property for your column definition:

<Editable>1</Editable>
<InCellEdit>1</InCellEdit>

Also, please see the following MSDN articles, I think you will find them helpful:
http://msdn.microsoft.com/en-us/library/aa155658(office.10).aspx
http://msdn.microsoft.com/en-us/library/aa140157(v=office.10).aspx
Posted 27 Jan, 2011 08:15:17 Top
frank c




Posts: 2
Joined: 2011-01-27
This is great. :D
The next step is to create an event handler so my plugin is notified when the new field is changed. What is the most efficient way to do that? (Is there a way to subscribe to event notifications at the application or explorer level instead of CustomPropertyChange event at the MailItem level ?)
Posted 27 Jan, 2011 14:10:14 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Frank,

When reading your first sentence I was thinging about the CustomPropertyChange event...

On the level of Explorer you can try to handle SelectionChange because this event is raised even when you click on a previously selected mail item.
Posted 28 Jan, 2011 07:16:58 Top