title: Refresh Window in Visual C++
body: <p>I've a Visual C++ project but I don't be able to refresh the window and redraw itself.
  I've used </p>
  
  <pre><code>RedrawWindow();
  m_ProgressDlg-&gt;RedrawWindow();
  </code></pre>
  
  <p>and also</p>
  
  <pre><code>UpdateData(false);
  m_ProgressDlg-&gt;UpdateData(false);
  </code></pre>
  
  <p>but never seems go well.</p>
  
  <p>How can I do?</p>