换行使用\r\n不就可以了吗?
如:
CString strText = "This is a test!\r\nThis is another test!";
SetWindowText(strText);
则显示结果应该为:
This is a test!
This is another test!
如:
CString strText = "This is a test!\r\nThis is another test!";
SetWindowText(strText);
则显示结果应该为:
This is a test!
This is another test!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货