Author: dgoulddgould Date: Dec 20, 2007 15:28
> On Dec 7, 6:55 pm, Bob Smith sudleydeplacespam.com> wrote:
>
>
>
>>> Hoping for some help here. I have an edit control receives data via a
>>> socket at high data rates. I am using the classic edit control my
>>> question is how do I make it act like a FIFO. Once it fills up to
>>> max_chars have it start removing lines of data from the buffer to
>>> allow room for more data in the edit control.
>
>> The owner of the control receives an EN_MAXTEXT notification message
>> "when the current text insertion has exceeded the specified number of
>> characters for the edit control. The text insertion has been
>> truncated." (from an old Windows help file).
>
>> At that point, you can delete chars or whatever, but you can expect to
>> spend a few CPU cycles doing it, so you'll need to watch out for overrun.
> ...
|