MrSandman666
Programmer
so here I go with another embarassing newbie question.
I have a bunch of numerical values (integers) which I want to display in a mutiline CEdit control, each on a seperate line.
I tried something like this:
sFormatString.Format("%d\n", i);
sList += sFormatString;
cEditControl.SetWindowText(sList);
but it didn't work.
The numbers where displayed correctly but instead of the linefeeds I get these vertical lines and it looks like this:
1|3|15|23|12|
Any idea what a solution to this could be?
I did enable the "return possible" property for the control and, yes, it's set to multiline.
Thanks a lot in advance
I have a bunch of numerical values (integers) which I want to display in a mutiline CEdit control, each on a seperate line.
I tried something like this:
sFormatString.Format("%d\n", i);
sList += sFormatString;
cEditControl.SetWindowText(sList);
but it didn't work.
The numbers where displayed correctly but instead of the linefeeds I get these vertical lines and it looks like this:
1|3|15|23|12|
Any idea what a solution to this could be?
I did enable the "return possible" property for the control and, yes, it's set to multiline.
Thanks a lot in advance