|
Question : New Line in EditBox
|
|
I want to send some text to an editbox and do not know how to achieve a line break. It does not work with \n. What do I have to do ?
|
|
Answer : New Line in EditBox
|
|
Use \r\n, edit control must have multiline style
Example
CString str = "Hello\r\nWorld" ; m_edit.SetWindowText( str ) ;
Where m_edit is your CEdit control
|
|
|