在oninitdld()中加:还得设置按钮位图属性
((CButton *)GetDlgItem(IDC_BUTTON1))->SetBitmap(::LoadBitmap(AfxGetResourceHandle(),MAKEINTRESOURCE(IDB_BITMAP1)));
在oninitdld()中加:还得设置按钮位图属性
((CButton *)GetDlgItem(IDC_BUTTON1))->SetBitmap(::LoadBitmap(AfxGetResourceHandle(),MAKEINTRESOURCE(IDB_BITMAP1)));