title: Get character widths for a font
body: <p>I need to get the width for characters from a given font (for example Arial). Only the width of the bounding box, without spacing.</p>
  
  <pre><code>HFONT font = CreateFont(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, L"Arial");
  </code></pre>
  
  <p>Using the created HFONT, is there a way to extract this information?</p>
  
  <pre><code>int MyGetCharWidth(HFONT font, wchar_t wch)
  {
      // How to implement this?
  }
  </code></pre>