Changing the background color of a MailItem

D

Dorian

Is there any way to change the background color of a Mailitem in the list
portion of Outlook? I need to display a status for a MailItem given certain
conditions and I think changing the background color would be the most easily
recognizable.
 
D

Dmitry Streblechenko

Sure, if you create/modify the folder view - click "Automatic Formatting"
button in the "Customize View" dialog.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
D

Dorian

Sorry, I guess I assumed that since this was a program addin newgroup it
would be assumed that I was looking for programming help. I use VS2008 and
Outlook 2007. I've look through the Microsoft.Office.Interop.Outlook.View
class but I'm not sure that the XML input it takes will do what I need. I'd
like to be able to change the background color if a user property is set.
 
D

Dmitry Streblechenko

XML folder view does not expose custom formatting.
Displaying messages in red if the current date is greater than the FlagDueBy
property is the only way to make mesages standout uisng the out of the box
views.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top