![]() |
add a null character '\n' |
Post Reply ![]() |
Author | |
suchout ![]() Groupie ![]() Joined: 29 September 2009 Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() Posted: 26 October 2009 at 1:40am |
Hi
this is my code:
- MainFrame-
CXTPOfficeBorder<CEdit> wndMessages;
wndMessages.SetWindowTextW(CString("New FrameWork Start")); ![]() -App-
CString str(_T("abcd")), msg(_T(""));
pFrame->m_wndMessages.GetWindowTextW(msg);
msg += '\n';
msg += str; pFrame->m_wndMessages.SetWindowTextW(msg); ![]() i don't know why show that character (looks like | ), i append null character '\n' .....
because unicode??? hm....
in that case, what is the new line character in unicode ?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
you need added ES_MULTILINE style for edit.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
suchout ![]() Groupie ![]() Joined: 29 September 2009 Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
Hi,
ㅠㅠ
i already added that, like this
m_wndMessages.Create(WS_CHILD |
ES_AUTOVSCROLL | ES_MULTILINE | ES_READONLY, CRect(0, 0, 0, 0), this, 0); would you please teach me about using unicode's new line character?
|
|
![]() |
|
suchout ![]() Groupie ![]() Joined: 29 September 2009 Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
Oops~ it's my fault!
it's OKay! ^^
thank you~ ver~y Mu~ch
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |