title: How to prevent flickering in ListView when updating a single ListViewItem's text?
body: <p>All I want is to update an ListViewItem's text whithout seeing any flickering.</p>
  
  <p>This is my code for updating (called several times):</p>
  
  <pre><code>listView.BeginUpdate();
  listViewItem.SubItems[0].Text = state.ToString();    // update the state
  listViewItem.SubItems[1].Text = progress.ToString(); // update the progress
  listView.EndUpdate();
  </code></pre>
  
  <p>I've seen some solutions that involve overriding the component's <code>WndProc():</code></p>
  
  <pre><code>protected override void WndProc(ref Message m)
  {
      if (m.Msg == (int)WM.WM_ERASEBKGND)
      {
          m.Msg = (int)IntPtr.Zero;
      }
      base.WndProc(ref m);
  }
  </code></pre>
  
  <p><strong>They say it solves the problem, but in my case It didn't</strong>. I believe this is because I'm using icons on every item.</p>