title: How to set exact client size for overlapped window? (winapi)
body: <p>I want to set anexact client size (say 300 x 300) when I create a normal 'overlapped' window.</p>
  
  <p>There is the <code>AdjustWindowRectEx()</code> function where I can pass the desired client
  area and get sizes that I can pass to CreateWindowEx but it says 
  in the documentation that I should not use it for overlapped windows
  and I do not understand why.</p>
  
  <p>When I pass 300 x 300, I got 306 x 326 from it, and when I receive
  <code>WM_SIZE</code>, the client size is 298 x 298 so it is 2 pixels too small.</p>
  
  <p>How to create overlapped window with exact given client size?</p>