Custom Column

  • Thread starter Thread starter Vipul Taneja
  • Start date Start date
V

Vipul Taneja

I'm writing outlook add-in using C#, where for specific messages I added a
user property (boolean) say "xyz". Then I also created a view, which will
display this column.

Now if "xyz" property is true for a message, instead of showing the value, I
would like to display an icon in the column. e.g as shown for messages with
attachment.

Can some one give me any pointer on how to do this?

Thanks.
 
I do not want to show it in folder view either. I'm talking of Items view or
Message View.

I'm adding a user property in mail item and based on that would like to show
icon in the MESSAGE VIEW. It's quite similar to the attachment icon in
message view..

I'm pretty sure this is possible in Outlook. One of our competitor product
has done it already.

Thanks.

Outlook provides no way to display custom icons in folder views.
 
The Messages view is one of several folder views (i.e. views of items in a folder) available. As I said before, you cannot create fields and display them in such views with custom icons. If your competitor has done it, they may be using an unpublished hack.

The only icon that Outlook provides a way to change is that for the entire item. It's done by changing the MessageClass to a custom form with that has a specific icon or by using CDO 1.21 or Redemption to change a MAPI property tag that holds the number of one of the built-in icons.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top