Valhalla Legends Forums Archive | General Programming | Anti scroll?

AuthorMessageTime
FuZe
I noticed in Starcraft if you move the scroll bar up in an active channel, the scroll bar 'locks' to the position it is in, yet the chat is still updated. How would I implement this using a rich text box control?
August 14, 2003, 9:00 PM
drivehappy
You might try looking at the RichText's scrollbar methods. When setting the SelectionStart see if you are able to check if the scrollbar is at max. Blizzard made their objects through their own tools, so it would be easier for them to do that.
August 14, 2003, 9:04 PM
Camel
I think I posted my massively bureaucratic implementation a while back; perhaps you should try searching for that?
August 14, 2003, 11:56 PM
Skywing
[quote author=FuZe- link=board=5;threadid=2324;start=0#msg18101 date=1060894816]
I noticed in Starcraft if you move the scroll bar up in an active channel, the scroll bar 'locks' to the position it is in, yet the chat is still updated. How would I implement this using a rich text box control?
[/quote]
Doing this with a RichEdit/RichText control is a big pain. Starcraft actually uses a ListBox for this reason.
August 15, 2003, 1:25 AM

Search