Re: CEdit limit on win95?
CEdit has a limitation of 64K. The easiest way to overcome the problem is to use a rich edit control instead.
Re: CEdit limit on win95?
> CEdit has a limitation of 64K. The easiest way to overcome the problem is to use a rich edit control instead.
Thanks for the reply. GetEditCtrl().GetLimitText()
does return 64K.
My problem is I use 64K*3/4 as the threshold of the window text and always chop off the top 1/3 of the text once the threshold is reached. This works fine sometimes: I can keep writing text into the window (which actually acts like a console) for hours. However sometimes the window just hangs before reaching the threshold (the size of the window text at those times vary, but the smallest I found was around 25K). I really want to figure out why this happens and how, if possible, to detect and avoid it programmatically.
I'll give CRichEdit a try anyway. Thanks.
-Raymond
Re: CEdit limit on win95?
I have the same problem ...but now by replacing the Edit with rich edit the dialoge does not popup...Do you know why?
Re: CEdit limit on win95?
Notepad is written using CEditView and has the limit of 64kb
Wordpad uses CRichEditView and has not the 64kb limit
Sally
OBS, k is the metric symbol for kilo, so 64000 is correctly 64k
64K is denoting a temperature using the Kelvin scale, 64K is very very cold indeed...