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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log Window

Status
Not open for further replies.

deniska

Programmer
Joined
Aug 6, 2003
Messages
2
Location
RU
I need special log/history window control where the first line that is entered appears at the bottom, and the contents are scrolled upwards. (Like in mIRC). And it must be able to select the text. Maybe there is a way to modify CEdit class?


 
Unless I misunderstand your post, I don't see why you need to modify CEdit (Edit Control) behavior. Just set the current Selected position to the start and the use ReplaceSel() to add a string with CRLF termination bytes.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top