手动方式
CString strNew,str1,str2;
GetDlgItem(edit1的id)->GetWindowText(str1);
GetDlgItem(edit2的id)->GetWindowText(str2);
strNew = str1+' '+str2;
GetDlgItem(edit2的id)->SetWindowText(strNew);
你好,可以
Cstring str;
GetDlgItem(edit1的id)->GetWindowText(str);
GetDlgItem(edit2的id)->SetWindowText(str);