Raymond Lai
April 13th, 1999, 07:54 PM
Hi,
This is my first post so please bear with me if I am doing anything wrong....
Does CEdit (or actually CEditView) have any hidden text limit on win95? I wrote a program that uses GetEditCtrl().GetLimitText()*3/4
as the threshold of window text for a CEditView derived class object on win95. What happened was, depending on the initial size of the text window, sometimes the text gets to write up to that threshold and sometimes it doesn't and just hangs there. I couldn't find anything in CEdit other than GetLimitText() that controls the text size of the window.
BTW, the documentation says that the maximum size for a CEdit is 64k on win95. If that's the case how do people iimplement editors with CEditView on win95?
Oh another thing, I used GetVersionEx to figure out it's win95. The program was actually built with vc++ 5.0 on NT4.
Thanks in advance for any help.
-Raymond
This is my first post so please bear with me if I am doing anything wrong....
Does CEdit (or actually CEditView) have any hidden text limit on win95? I wrote a program that uses GetEditCtrl().GetLimitText()*3/4
as the threshold of window text for a CEditView derived class object on win95. What happened was, depending on the initial size of the text window, sometimes the text gets to write up to that threshold and sometimes it doesn't and just hangs there. I couldn't find anything in CEdit other than GetLimitText() that controls the text size of the window.
BTW, the documentation says that the maximum size for a CEdit is 64k on win95. If that's the case how do people iimplement editors with CEditView on win95?
Oh another thing, I used GetVersionEx to figure out it's win95. The program was actually built with vc++ 5.0 on NT4.
Thanks in advance for any help.
-Raymond