在CEditView类中使用SetWindowText()显示字符串:
CString pstr;
GetWindowText(pstr);
pstr = pstr + str;
SetWindowText(pstr);
UpdateData();
本来是要显示多行字符串str(str = "......\n"),可是在运行的时候换行字符'\n'显示成一个'|',另外鼠标总是移至前端。是不是因为SetWindowText()函数是专门用来显示标题的?请问有没有其它函数是用来显示内容的?