Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anyone know how to make a multi-line edit box scroll to the bottom every time more text is added to it?
 
If using the MFC CEdit class (or a derivative) you can use the LineScroll() method, and use GetLineCount() to know how far to scroll - use these in response to an EN_CHANGE or EN_UPDATE message, and it will scroll to the bottom of the edit control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top