Jon
Mon Jun 07 14:15:22 CDT 2004
Bud Bach <wwbach@ameritech.net> wrote:
<snip>
> Is there a simple way to do this? I could keep a circular array of
> strings in memory and refill the textbox from this array every time I
> get a new message to display but I would think this would be very
> inefficient and would probably cause a lot of flickering on the
> display. There must be a better way that I haven't thought of.
> Probably something obvious... -- Bud
Rather than keeping the strings themselves and repopulating the
textbox, just keep the *lengths* of the strings, and you can work out
how much to chop off the start each time you want to update it.
--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too