|
-
May 31st, 1999, 03:48 AM
#1
CStatic SetWindowMessage ...two lines
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
-
May 31st, 1999, 04:09 AM
#2
Re: CStatic SetWindowMessage ...two lines
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|