Autoscroll with RichEditCtrl...
Posted on 2003-12-12
I have an application that uses a class based on the RichEditCtrl ...
When I use this on a Windows 2000 machine, whenever text is added to the RTF, the last line of the RTF contents is always displayed at the bottom of the RTF object (i.e. it autoscrolls when required). Running the same app on an NT4 box does not scroll at all!
I have tried adding LineScroll(1); to the last line where the text is added to the RTF contents. This has no effect on the Win2k box (scroll works as expected) but the NT box now scrolls a little more than expected!!! Gradually, as each line is added, the last viewable line moves up the object, until it is the only visible info!!!
Any ideas as to what is going on?????