title: How to make checkbox background transparent?
body: <p>i use the following code to make check box background transparent or in my case off white but i can't find what wrong with this plz help me how to do this?</p>
  
  <pre><code>HBRUSH CfvcolorDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
  {
   HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
  
   pDC-&gt;SetBkColor(MYCOLOR);
  
   if((HBRUSH)brush == NULL)
      brush.CreateSolidBrush(MYCOLOR);
   return (HBRUSH) brush;
  }  
  </code></pre>