title: How to set a font in rich edit 4?
body: <p>I want to change the font of the richedit control in my win32 program to Consolas. When i try to do the following:</p>
  
  <pre><code>CHARFORMAT2 cformat;
  cformat.dwMask = CFM_FACE;
  cformat.cbSize = sizeof(cformat);
  cformat.szFaceName = "Consolas";
  </code></pre>
  
  <p>On the last line it says that</p>
  
  <blockquote>
    <p>Expression must be  modifiable value</p>
  </blockquote>
  
  <p>What is the problem here?</p>
  
  <p>Regards,</p>
  
  <p>Devjeet</p>