chrishowarth
July 3rd, 2007, 03:29 PM
Hello ~
I am trying to set the text in my multi-lined Edit control using Send Message (WM_SETTEXT). I am trying to get my Edit control to fill up with JavaScript code, with each parameter a variable that has just been set via a dialog. Obviously, I do not want all this code appearing on one line.
As I want to add blank lines, I am using "\n". However, when I compile my program, instead of a newline I get a square nought. How do I sourt out this problem?
Thanks;
Chris Howarth
I am trying to set the text in my multi-lined Edit control using Send Message (WM_SETTEXT). I am trying to get my Edit control to fill up with JavaScript code, with each parameter a variable that has just been set via a dialog. Obviously, I do not want all this code appearing on one line.
As I want to add blank lines, I am using "\n". However, when I compile my program, instead of a newline I get a square nought. How do I sourt out this problem?
Thanks;
Chris Howarth