title: MFC button with Bitmap and text
body: <p>I have a Custom CButton which loads a bitmap, using CButton::SetBitmap(bitmap);</p>
  
  <p>Meanwhile, I want to display a text above the bitmap, on the same button. </p>
  
  <p>I tried implementing OnPaint(), but it does not display the text, just the bitmap</p>
  
  <pre><code>void CBitmapToggleButton::OnPaint()
  {
      CButton::OnPaint();
      CPaintDC dc(this); // device context for painting
  
      CString caption(_T("test message"));
      GetWindowText(caption);
      CRect rect;
      GetWindowRect(&amp;rect);
  
      dc.DrawText(caption, &amp;rect, DT_CENTER);
  }
  </code></pre>
  
  <p>What can I do to display the text too?</p>