How to italicize the email entry in explorer window

  • Thread starter Thread starter Sandeep K
  • Start date Start date
S

Sandeep K

Hi All,
I want to italicize the display of email item in explorer window. I am
unable to find any property of MailItem to help me in achieving that. Please
help me.
 
You're not finding anything because there is no such property. Whether a
message appears in italics depends on the automatic formatting settings of
the current view and whether the message has properties that meet the
criteria of a formatting rule that involves italics. Automatic formatting
rules are exposed programmatically only in Outlook 2007.
 
Sue Mosher said:
You're not finding anything because there is no such property. Whether a
message appears in italics depends on the automatic formatting settings of
the current view and whether the message has properties that meet the
criteria of a formatting rule that involves italics. Automatic formatting
rules are exposed programmatically only in Outlook 2007.
Sue,
My addin is developed in C# and targeted for outlook 2007 and 2003 therefore
if outlook 2007 exposes such functionality than it is fine with me. Can you
let me know how can i achieve it?
 
Take a look at the TableView.AutoFormatRules collection and the
AutoFormatRule object, which has Filter and Font properties to tell you what
condition results in what display font. The Outlook developer documentation
article at http://msdn.microsoft.com/en-us/library/bb176349.aspx explains a
bit more about how these rules operate.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
Back
Top