void CModifyIconDlg::OnLoadIcon()
{
m_hIcon = AfxGetApp()->LoadIcon(IDI_ICON1);//获取图标资源
SetIcon(m_hIcon, TRUE); //设置大图标
SetIcon(m_hIcon, FALSE);//设置小图标
}
void CModifyIconDlg::OnLoadIcon()
{
m_hIcon = AfxGetApp()->LoadIcon(IDI_ICON1);//获取图标资源
SetIcon(m_hIcon, TRUE); //设置大图标
SetIcon(m_hIcon, FALSE);//设置小图标
}