Link to home
Start Free TrialLog in
Avatar of zeekial
zeekial

asked on

Want a return in a CEdit control

I have text that I am pumping to a CEdit control.  After each line of text I insert a (\n) newline character.  Ex.(test\ntestagain\n).  The newline show up as a (|) in the control.  I have multiline, vertical scroll and want return enabled. How do I ensure that a hard return is inserted.
ASKER CERTIFIED SOLUTION
Avatar of Rheingold
Rheingold

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 mahno
mahno

Hi,

Try to insert "\r" in stead of "\n"

Hope this helps,
  mahno