Link to home
Start Free TrialLog in
Avatar of kallzz
kallzz

asked on

MultiLine Edit Control

In Multiline Edit control ..when i set the text which contains
'\n' character using the SetWindowText function ,it's not
moved onto the next line ,but instead it displays a thick line for
the '\n' and all the characters are displayed in the same line.

How can i display the text onto the next line ..if the string
contains a '\n' character in Multiline Editcontrol.
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kallzz
kallzz

ASKER

You mean to say that ..i  will have to loop through the characters in the string
and insert \r  whenever i encounter an '\n' is encountered