Im using wsprintf to set up my text, then im gonna put that text into an edit control. I want a new line at a certain spot in the text so i used "\n". But it get a weird square character. I tried \10\13, \13\10, same thing. Any ideas?
Printable View
Im using wsprintf to set up my text, then im gonna put that text into an edit control. I want a new line at a certain spot in the text so i used "\n". But it get a weird square character. I tried \10\13, \13\10, same thing. Any ideas?
Maybe:
..or both.Code:char(13);
...or...
char(10);
Z.
All that would do is print out "char(13)". I need to insert an actual new line.
You need to first set the text box's style to ES_MULTILINE
Try that and ise \n to get a new line!
It is set to multiline and for some reason \n doesnt work.
Have you tried "endl" (I am not sure if it would work but just try it)
No, actually i figured it out. Its \r\n instead of just \n.