hi
try this instead of \r\n
CEdit *myEdit=(CEdit *)GetDlgItem(IDC_EDIT1);
myEdit->SetWindowText("My 1st Line \r\nMy 2nd Line");
Regards
SKP
Be sure to rate answers if it helped, to encourage them.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |