Does anyone knows how to put two lines into a CStatic by SetWindowText.
SetWindowText(_T("abcdefgh\\nijklmno"));
does not works. In the Resource Editor it works by setting Text Properties to CStatic
Printable View
Does anyone knows how to put two lines into a CStatic by SetWindowText.
SetWindowText(_T("abcdefgh\\nijklmno"));
does not works. In the Resource Editor it works by setting Text Properties to CStatic
If U enter two lines of text, the text is automatically adjusted and it is scrolled on to the next line depending on the window size.
But if U want to force a particular text to come in the next line, I think U can use \r\n.
Hope this helps.