Hi, I use Microsoft Visual Studio 2005. I have a dialog window created using Visual Studio IDE. This IDE gives me a .rc file. I am trying to improve that dialog window by associating bitmaps to the pushbuttons. The first thing i did was to change the "BITMAP" property to true for my pushbutton. My line in the .rc file looks like this: PUSHBUTTON "3",IDC_BUTTON3,31,50,17,17,BS_BITMAP After that, I load my bitmap as a resource: Right click, add ressource, bitmap..." In resource.h, I then have: #define IDB_BITMAP3 140 Then I try to attach the bitmap to the button the following way: CWnd* pMyWindow; pMyWindow->GetDlgItem(IDC_BUTTON3); pMyWindow->SendMessage(BM_SETIMAGE, IMAGE_BITMAP, IDB_BITMAP3); But the button stays empty... What did I forget? PS: I include 1. #include <atlwin.h> 2. ... 3. "