title: Why we need to call UpdateWindow following ShowWindow?
body: <pre><code>ShowWindow(g_hWnd, 1);
  UpdateWindow(g_hWnd);
  </code></pre>
  
  <p>I am wondering why we need to call <code>UpdateWindow</code> following the <code>ShowWindow</code>?</p>