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.
Printable View
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.
Well it would help if you could explain what you are trying to do in the listbox???
linebreaks in a listbox ?
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.
You can't put enters in a listbox... you can only insert items in it. Use CListBOx::AddString () to add multiple lines.
Have a look at Multi-Line ListBox