/ Published in: C++
Append text to CEdit control and scroll to the end.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
int nLength = edit.GetWindowTextLength(); // put the selection at the end of text edit.SetSel(nLength, nLength); // replace the selection edit.ReplaceSel(pszText);
URL: http://www.codeguru.com/forum/showthread.php?t=318921