Posted by Sharvil Nanavati on 2000-11-16
Hi, I'm having a little trouble with the CRichEditCtrl (MFC) class. I have a dialog based application (written in VC++ 6) and I have a RichEdit control and an Edit control. The rich edit control is read-only. When the user types in a line in the Edit control, I want that line to show up in the RichEdit control... but once it goes beyond the rich edit window, I want the window to scroll without the user's intervention. I have set the AutoVScroll and Vertical Scroll properties to true, but that's not it... I looked at ScrollWindow and SetScrollPos functions, but I've had no success with them. Is there an easier way or can someone give me a code snippet that would do this? (if this made no sense, don't mind me... I've been staring at this program for too many hours %-\ Thanks! Cheers, Sharvil Nanavati __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/
Previous post | Next post | Timeline | Home