CEdit in CWnd, not dailog, the _T("\r\n") is not OK
the initfunction in my class : public CWnd's OnCreate
my class : public CWnd { ... CEdit edit; } and void OnCreate(CREATESTRUCT& cs){ edit.Create(*this); edit.SetStyle(WS_VISIBLE | ES_AUTOHSCROLL | ES_MULTILINE | ES_WANTRETURN); edit.SetReadOnly(); edit.MoveWindow(6, 2, 289, 20); edit.SetWindowText(_T("111")); edit.AppendText(_T("\r\n")); //==>> edit.AppendText(_T("222"));// But the Dailog's edit show me " 111 || 222", and copy the text to notepad and show me "111 222 ", the CEdit in class CWnd not support CRLF??
my class : public CWnd { ... CEdit edit; } and init function()-> edit.Create(*this); edit.SetStyle(WS_VISIBLE | ES_AUTOHSCROLL | ES_MULTILINE | ES_WANTRETURN); edit.SetReadOnly(); edit.MoveWindow(6, 2, 289, 20); edit.SetWindowText(_T("111")); edit.AppendText(_T("\r\n")); //==>> edit.AppendText(_T("222"));// But the Dailog's edit show me " 111 || 222", and copy the text to notepad and show me "111 222 ", the CEdit in class CWnd not support CRLF??
[edit.AppendText(_T("\r\n"))], test failure .*
my class{ ... CEdit edit; } and init function()-> edit.Create(*this); edit.SetStyle(WS_VISIBLE | ES_AUTOHSCROLL | ES_MULTILINE | ES_WANTRETURN); edit.SetReadOnly(); edit.MoveWindow(6, 2, 289, 20); edit.SetWindowText(_T("111")); edit.AppendText(_T("\r\n")); //==>> edit.AppendText(_T("222"));// But the Dailog's edit show me " 111 || 222", and copy the text to notepad and show me "111 222 ", the CEdit not support CRLF??
my class{ ... CEdit edit; } and init function()-> edit.Create(*this); edit.SetStyle(WS_VISIBLE | ES_AUTOHSCROLL | ES_MULTILINE | ES_WANTRETURN); edit.SetReadOnly(); edit.MoveWindow(6, 2, 289, 20); edit.SetWindowText(_T("123")); edit.AppendText("\r\n"); edit.AppendText(_T("444"));// But the Dailog's edit show me " 123 || 444", the "\r\n" is not OK? why?
FLAC 48KHZ 24BIT not support ? the decoder should be update.