|
-
January 4th, 2010, 06:23 AM
#2
Re: Update MultiLine EditControl
 Originally Posted by arunkr6
I have used
Code:
//.....bla...bla
CString dispVar;
m_list.SetWindowText[dispVar];
.
Here it is overwriting....
How can It Update?? Plz help...
1. you code is wrong. You must use (...), not [...]
2. To append text to edit control you can either
- read the old text in a CString, add the new text and then write the updated text back to control
or - use CEdit::SetSel/CEdit::ReplaceSel functions.
Victor Nijegorodov
Tags for this Thread
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
|