|
-
May 26th, 2009, 08:55 PM
#1
\n
my mfc dialog listbox does not act upon \n characters. I do not see line breaks.parsing texts seems to be the only solution.i am not sure but i think i use vc2005. i am very new to ms env.
-
May 27th, 2009, 12:13 AM
#2
Re: \n
Well it would help if you could explain what you are trying to do in the listbox???
-
May 27th, 2009, 01:44 AM
#3
Re: \n
linebreaks in a listbox ?
-
May 27th, 2009, 02:13 AM
#4
Re: \n
a text like: it is rainy day\nit is rainy day. appears as
"it is rainy day||it is rainy day". instead of
it is rainy day
it is rainy day.
-
May 27th, 2009, 02:23 AM
#5
Re: \n
You can't put enters in a listbox... you can only insert items in it. Use CListBOx::AddString () to add multiple lines.
-
May 27th, 2009, 07:11 AM
#6
Re: \n
 Originally Posted by PHE
a text like: it is rainy day\nit is rainy day. appears as
"it is rainy day||it is rainy day". instead of
it is rainy day
it is rainy day.
Sounds like you're using the wrong control. List boxes display and allow selection of a "list" of items. They're not designed or intended to display formatted text.
-
May 27th, 2009, 07:57 AM
#7
Re: \n
Victor Nijegorodov
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
|