CStatic* lblGetNetSetting = (CStatic*)GetDlgItem(IDC_GETNETSETTING); 
lblGetNetSetting->EnableWindow(TRUE);
可是静态文本框颜色不会变阿