title: Win32/MFC Get window rect from client rect
body: <p>I know there is a function somewhere that will accept a client rect and it will convert it into a window rect for you. I just can't find / remember it!</p>
  
  <p>Does anyone know what it is?</p>
  
  <p>It will do something similar to:</p>
  
  <pre><code>const CRect client(0, 0, 200, 200);
  const CRect window = ClientRectToWindowRect(client);
  SetWindowPos(...)
  </code></pre>