假如edit control的控件ID为: IDC_EDIT1SetDlgItmeTextW(IDC_EDIT1,_T("内容"));或: GetDlgItem(IDC_EDIT1)->SetWindowTextW(_T("内容"));