摘自:http://www.diybl.com/course/3_program/c++/cppjs/20100705/333491.html
1. 在CSatic控件上增加图标及位图
CStatic *pStat = NULL;
pStat = (CStatic*)GetDlgItem(控件ID);
pStat->ModifyStyle(SWP_NOZORDER, SS_ICON);
可用两种方法增加图标
(1) pStat->SetIcon(AfxGetApp()->LoadIcon(图标ID));
(2) pStat->SetIcon...