Return to Snippet

Revision: 15727
at July 14, 2009 18:34 by jimfred


Initial Code
int nLength = edit.GetWindowTextLength();
   // put the selection at the end of text
   edit.SetSel(nLength, nLength);
   // replace the selection
   edit.ReplaceSel(pszText);

Initial URL
http://www.codeguru.com/forum/showthread.php?t=318921

Initial Description
Append text to CEdit control and scroll to the end.

Initial Title
MFC CEdit append to text log and scroll to the end

Initial Tags


Initial Language
C++