|
-
April 6th, 1999, 09:49 AM
#1
Printing carriage returns in a CEdit
Hi,
Is it just me, or can you not have carriage returns in a CEdit box? When I
set the contents of a CEdit box with a CString which has '\n' in it, then
they appear in the window as a strange character (a vertical thick black line).
Any ideas how to get it to do a carriage return properly?
Thanks!
Nick.....
-
April 6th, 1999, 09:59 AM
#2
Re: Printing carriage returns in a CEdit
Try "\r\n" instead of "\n". Ensure that your CEdit has the "multiline" property.
HTH.
K.
Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
We're talking ****, 'cause life is a 'biz
You know it is
Everybody tryin' to get rich
God ****!
All I wanna do is live !
KoRn, Children of the Korn
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|