代码中即使加上“\r\n”,Edit Control控件也不会自动换行显示 strTemp.Format(_T("\r\n文件长度:%d字节"),filelength); 把Multiline 改为 True即可 效果如下: 相关文章: