G
Guest
Hello,
I know I sound like a one-note Johnny on this but I'm still looking for a
solution. I need to display characters coming in from a serial port or a
socket. I also need to be able to type characters into the display myself -
but that's not the main issue at this time. I've tried a scrolling multiline
text box but once the original viewable area fills up and it starts scrolling
the flashing of the entire area drives me nuts. The vertical scroll bar can
be seen to bounce up and down as the control apparently updates the display
with every string it has including those that are not even in view. I've
limited my string array to just a few hundred strings just so it will have
less to update but that doesn't seem to matter. I've tried setting the
double-buffering property on the form, which accomplishes nothing. I've also
tried not even using a control and merely writing directly onto a form but I
haven't really accomplished much there either.
I've talked to several other C# "programmers" here about the flashing and
they obviously know about as little as I do since they all tell me they have
the same problem and have not found a solution (they just keep a good supply
of headache pills on hand). I've seen other applications such as TeraTerm,
HyperTerm, and others that don't have this problem but I'd like to accomplish
the same thing in C# if possible. A sample application for just adding
characters to a non-flashing display would be appreciated since I'm not very
knowledgeable regarding digging down to the individual character x-y
coordinate and font size level, invalidating only over a single character,
It doesn't seem like that should be necessary anyway (but maybe it is?).
As Always, Thanks,
Ray
I know I sound like a one-note Johnny on this but I'm still looking for a
solution. I need to display characters coming in from a serial port or a
socket. I also need to be able to type characters into the display myself -
but that's not the main issue at this time. I've tried a scrolling multiline
text box but once the original viewable area fills up and it starts scrolling
the flashing of the entire area drives me nuts. The vertical scroll bar can
be seen to bounce up and down as the control apparently updates the display
with every string it has including those that are not even in view. I've
limited my string array to just a few hundred strings just so it will have
less to update but that doesn't seem to matter. I've tried setting the
double-buffering property on the form, which accomplishes nothing. I've also
tried not even using a control and merely writing directly onto a form but I
haven't really accomplished much there either.
I've talked to several other C# "programmers" here about the flashing and
they obviously know about as little as I do since they all tell me they have
the same problem and have not found a solution (they just keep a good supply
of headache pills on hand). I've seen other applications such as TeraTerm,
HyperTerm, and others that don't have this problem but I'd like to accomplish
the same thing in C# if possible. A sample application for just adding
characters to a non-flashing display would be appreciated since I'm not very
knowledgeable regarding digging down to the individual character x-y
coordinate and font size level, invalidating only over a single character,
It doesn't seem like that should be necessary anyway (but maybe it is?).
As Always, Thanks,
Ray