CRichEditCtrl: scrolling

When I add text to a rich edit control with SetSel and ReplaceSel, I also want the rich edit to automatically scroll down if the text added will go past. I've already specified the Auto VScroll flag but this only works when the caret is within the rich edit and you press "return". I am adding text to the rich edit through a normal edit box, so the Auto vscroll does not work.
I checked out an article at Code Guru (http://www.codeguru.com/richedit/dalrichedit.shtml), and this seems to be exactly what I need, but the code does not make sense and the resource file is in Korean so no help there.
LVL 1
cyberbumAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
Either m_richedit.SendMessage(EM_SCROLLCARET) after ReplaceSel, or apply the ES_NOHIDESEL style to the Rich Edit control.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cyberbumAuthor Commented:
You are a god man, it works like a charm, been busting my head for days with this. Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.