MFC中在OnInitDialog()加载bmp图标为什么一直显示不出来?求大神指点
hBitmap=LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP1));((CButton*)Ge...
hBitmap = LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP1));
((CButton *)GetDlgItem(IDC_BTN_PHOTO))->SetBitmap(hBitmap); 展开
((CButton *)GetDlgItem(IDC_BTN_PHOTO))->SetBitmap(hBitmap); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询