![]() |
#2
bccnbin20092010-01-04 13:41
|

void CMy111Dlg::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
HICON hIcon = AfxGetApp()->LoadIcon(IDI_ICON1);
ASSERT(hIcon);
this->SendMessage(WM_SETICON,TRUE,LPARAM(hIcon));
//OnOK();
}
这代码运行后没反应,, - -,,请高手指教,, {
// TODO: Add your control notification handler code here
HICON hIcon = AfxGetApp()->LoadIcon(IDI_ICON1);
ASSERT(hIcon);
this->SendMessage(WM_SETICON,TRUE,LPARAM(hIcon));
//OnOK();
}