IDC_BUTTON は BS_BITMAP スタイルに
HBITMAP bm; bm = (HBITMAP)::LoadImage(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_XXX), IMAGE_BITMAP, 0, 0, LR_LOADMAP3DCOLORS); ((CButton*)GetDlgItem(IDC_BUTTON))->SetBitmap(bm); ::DeleteObject(bm);
VC覚書きページ...