Solved

Want a return in a CEdit control

Posted on 2000-04-11
2
525 Views
Last Modified: 2010-04-16
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.
0
Comment
Question by:zeekial
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Rheingold earned 100 total points
ID: 2704198
Hm

is the newline in windows controls not \r\n (or \n\r - I always mix those up ;) and not only a single \n ?
0
 
LVL 1

Expert Comment

by:mahno
ID: 2707212
Hi,

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

Hope this helps,
  mahno
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question