title: How to resize window using WinAPI
body: <p>I'm want to resize a window using WinAPI. I use a WinAPI function:</p>
  
  <pre><code>SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags);
  </code></pre>
  
  <p>The window is resized, but its content is not redrawn. If I resize this window using the mouse, the content redraws. How to resize window using WinAPI with content redrawing?</p>