title: Listview that shows unread messages in bold and read messages in normal font in C#
body: <p>I have list view that I use to display SMS from my GSM modem. I am reading the port for messages, parsing them and then displaying them. The format that I get when I read messages are:</p>
  
  <pre><code>+CMGL: 5,"REC READ","IA-612345","","2012/08/04 11:54:00+22"
  Some text message
  </code></pre>
  
  <p>Code that I use to parse:</p>
  
  <pre><code>public ShortMessageCollection ParseMessages(string input)
  {
      ShortMessageCollection messages = new ShortMessageCollection();
      Regex r = new Regex(@"\+CMGL: (\d+),""(.+)"",""(.+)"",(.*),""(.+)""\r\n(.+)\r\n");
      Match m = r.Match(input);
      while (m.Success)
      {
          ShortMessage msg = new ShortMessage();
          msg.Index = m.Groups[1].Value;
          msg.Status = m.Groups[2].Value;
          msg.Sender = m.Groups[3].Value;
          msg.Alphabet = m.Groups[4].Value;
          msg.Sent = m.Groups[5].Value;
          msg.Message = m.Groups[6].Value;
          messages.Add(msg);
          m = m.NextMatch();
      }
  }
  return messages;
  </code></pre>
  
  <p>The loop that I use to add messages to list view :</p>
  
  <pre><code>foreach (ShortMessage msg in objShortMessageCollection)
  {
      ListViewItem item = new ListViewItem(new string[] { msg.Sender, msg.Message, msg.Sent, msg.Index });
      item.Tag = msg;
      lvwMessages.Items.Insert(0, item);
  }
  </code></pre>
  
  <p>Now my requirement is when i add messages to listview, the messages which are unread(REC UNREAD) should be displayed in <strong>bold</strong> font and messages READ should be displayed in normal font. Is this possible? Please let me know the procedure.</p>