title: Displaying text in static text field in mfc dialog
body: <p>I built a game in MFC, and I want to display the score user got in static text field of dialog, so I want to do something something like this:</p>
  
  <pre><code>staticScore.SetWindowText(_T("you got %d points", score));
  </code></pre>
  
  <p>But this doens't work, this displays "you got %d points" without replacing %d with score. </p>
  
  <p>How can I display number that is stored in some variable in static text field?</p>