Quote Originally Posted by arunkr6 View Post
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.