
multiple-line CEdit set multi-line text
This is a common problem and the solution that is always posted is to use to
use \r\l ( carriage-return and line-feed ) instead of \n
Quote:
> Hi all,
> I have a CEdit window in which I want to put some text automatically.
> The text is multi-line, each line inidcated by ansi-C '\n'.
> Which function should I use to fill the CEdit-Text with
> "Hello. This is the first line. \n Second! \n Third... \n" ?
> I tried SetWindowText, but it's all written into one line with the '\n'
> character looking like | .
> Thanx for help,
> Guido