R
Russ Ryba
I'm working on a chat application. Right now when text is updated, it
auto-scrolls so the most recent text is always shown. I would like to
allow the users to use the scroll-bar to browse backwards through the
saved text, but every time new text comes in the textbox jumps back down
to the new text.
I guess I have two questions then.
1. Is there a property, or message I can send that will make the textbox
only scroll when I want it to?
2. Is there a way to detect the position of the scrollbar? I want to
know if it is at the bottom or not so I can set auto-scroll on or off.
auto-scrolls so the most recent text is always shown. I would like to
allow the users to use the scroll-bar to browse backwards through the
saved text, but every time new text comes in the textbox jumps back down
to the new text.
I guess I have two questions then.
1. Is there a property, or message I can send that will make the textbox
only scroll when I want it to?
2. Is there a way to detect the position of the scrollbar? I want to
know if it is at the bottom or not so I can set auto-scroll on or off.