how to make my rich edit ctrl scroll automatically when insert new text?
here's how i insert text
msg.Insert( msg.GetLength() , "\n");
here's how the richedit is defined in the resource file
as you guys can see, ES_AUTOVSCROLL is definately there
CONTROL "",IDC_SYSTEM_MESSAGE,"RICHEDIT",ES_MULTILINE |
ES_AUTOVSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP,11,
but whenever i insert new text using ReplaceSel, the text focus is always at the top. how do i make it such that it automatically scrolls down to read the latest text inserted?
thanks in advance!