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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try to insert "\r" in stead of "\n"
Hope this helps,
mahno