CEdit Multiline Control, adding new lines. 
Author Message
 CEdit Multiline Control, adding new lines.

I need a screen to scroll applicatoin messages into.

I wanted to use a multiline CEdit control to do it.

I use ReplaceSel to put the new text into the box, but,
all the text comes out on one line.  How to I get each new message
to come out on a new line?

I tried appending "\r" to each message, but just got an unprintable
character at the end of the line.

Dan Oxender



Fri, 21 Apr 2000 03:00:00 GMT  
 CEdit Multiline Control, adding new lines.

Quote:

>I need a screen to scroll applicatoin messages into.

>I wanted to use a multiline CEdit control to do it.

>I use ReplaceSel to put the new text into the box, but,
>all the text comes out on one line.  How to I get each new message
>to come out on a new line?

>I tried appending "\r" to each message, but just got an unprintable
>character at the end of the line.

Appending "\r" alone won't do it.  You have to append "\r\n" to get
a new line.

Quote:
>Dan Oxender


dan


Sat, 22 Apr 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Add line to a multiline CEdit

2. Line Breaks don't work in Multiline CEdit control

3. Set text color for 1 line in a CEdit control (MultiLine)

4. CEdit multiline Get line by line ?!?

5. Adding new line to CEdit ::newbie?

6. CComboBox : Adding New Items from the built in CEdit Control

7. Multiline CEdit control

8. Multiline CEdit control question

9. Multiline CEdit control

10. How to programatically fill CEdit multiline control

11. Changing the font of a multiline CEdit Control

12. MultiLine CEdit Control ???

 

 
Powered by phpBB® Forum Software