Edit Box Diplaying Problem
Posted on 1998-03-27
VC++5 WinNT Edit Box - Stop showing after some long text.
Do anyone knows how to "flush" & "reset an edit Box used in a dialog? My application captued text & besides storing them onto database, I would also like to display what I have captured onto the edit box in the dialog. In a sort-of "stress" test, by simulating a large text file (actually is about 42K text file only), the edit box showed up to around 3/4 of the total file only :(
The capturing & storing process still carry on in the background, so I guess it seems that the edit box has run out of memory. Retry running the process several times, the edit box will always stop showing at the same position.
I try to check for the "error allocating memory" event for the edit box but it doesn't seems to go to that function. (Coz, the MessageBox() code is not executed.) So I am puzzled, can any one help ?
Thanks alot :)