title: how to add bitmap image to buttons in MFC?
body: <p>I am Trying to add an image to an existing button..I have done that to an extent, the problem is I can add an ownerdrawn Image but am not able to add the extact image that I want.. for the example see the below code</p>
  
  <pre><code>CButton* pBtn= (CButton*)GetDlgItem(ID_WIZBACK);
  
     pBtn-&gt;ModifyStyle( 0, BS_ICON );
  
     HICON hIcn= (HICON)LoadImage(
          AfxGetApp()-&gt;m_hInstance,
    MAKEINTRESOURCE(IDI_ICON3),
          IMAGE_ICON,
          0,0, // use actual size
          LR_DEFAULTCOLOR
      );
  
      pBtn-&gt;SetIcon( hIcn );
  </code></pre>
  
  <p>with the above code am converting the bitmap to an icon to add to my button...how can I add the exact Bitmap image directly to an existing button.Please help me frnds..</p>