I have a richtextbox control that scrolls to the end whenever text is appended using Select(richtextbox.textlength, 0) and ScrollToCaret(). The richtextboxis placed on several tabpages to implement chatting functionality. Let's say that page B's richtextboxappends text while I am on page A. If I switch to page B then page B's richtextbox only shows the last line of text up at the TOP. I really want the last line of text to appear at the BOTTOM of the richtextbox.
Michael Henderson Thursday, January 26, 2006 7:03 AM
There's an alternative way to scroll all the way down using interop. You can extract it from the code in this post.
Use GetScrollInfo and then use SendMessage to send a WM_VSCROLL message.
Jelle van der Beek2 Thursday, January 26, 2006 7:14 AM
There's an alternative way to scroll all the way down using interop. You can extract it from the code in this post.
Use GetScrollInfo and then use SendMessage to send a WM_VSCROLL message.
Jelle van der Beek2 Thursday, January 26, 2006 7:14 AM
Have you experienced the case where only the last line of text is shown? I'm not sure what causes this.
Michael Henderson Thursday, January 26, 2006 7:29 AM