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 edit box

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
can someone tell me how to scroll to the next line of an edit control? i'm making an im program, and i want the chat history window to break to the next line when the user enters something, or when new data is received. thanks!
 
Hi!

This is not exactly an answer, but a tip: edit controls have a limited capacity (see MSDN), it's better to use richedit or htmlviews for longer texts.

CU, Martin
 
If you are using CEdit, check out the LineScroll(). First argument is the number of lines to scroll. or Check out EM_LINESCROLL if using SDK.

Make sure you have "Multiline" checked for your edit box.

HTH
Shyan


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top