Re: WordWrap in MleText
- Posted by Matt Lewis <matthewwalkerlewis at YAHOO.COM> Oct 08, 2000
- 382 views
--- Dan B Moyer <DANMOYER at PRODIGY.NET> wrote: > Now, do you or anyone else know the max (content) size a RichText control > can take, and did I see something some time ago about some way to increase > it (well, to increase size of MLE)? My understanding, from reading the documentation, is that you can put as much into a richedit as you want. However, when you do that, you lose some functionality. Specifically, you can only use the find messages to find text within the first 64K of data. This is because windows uses 32 bits to denote the range, where the high/low bits represent the start/finish (I don't remember which is which--take a look at win32lib if you're curious). I've thought a little about this, and I suspect that you'd have to do some fancy stuff by watching how big your data got, and streaming stuff in and out at the begginning or end to make sure you don't go over the limit. ===== -- Matt Lewis http://members.nbci.com/matthewlewis __________________________________________________ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/