编辑框中的换行
CString strTemp;
GetDlgItemText(IDC_EDIT7,strTemp);
CString showstr;
showstr.Format("%d A %d B",A,B);
showstr+="\r\n";
showstr+=strTemp;
UpdateData(FALSE);
GetDlgItem(IDC_EDIT7)->SetWindowText((showstr));//IDC_EDIT7为编辑框ID
//为什么在编辑框中不换行呢?
[解决办法]
要事先设置编辑框支持多行属性?