Re: [Win32Lib] weird RichEdit problem
- Posted by "danielmoyer" <danielmoyer at prodigy.net> Sep 06, 2004
- 492 views
----- Original Message ----- From: "Derek Parnell" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Monday, September 06, 2004 12:03 AM Subject: Re: [Win32Lib] weird RichEdit problem > > > posted by: Derek Parnell <ddparnell at bigpond.com> > > danielmoyer wrote: > > [snip] > > But just in case any user of the app also doesn't have Richedit 3.0 on their > > system, is there some way to programmatically change the default? > > (And the richedit on the desk pc doesn't neglect to *hold* or display the > > longer text, just neglects to allow programmatic selection of text displayed > > past the 32K char.) > > I don't think so. You could try the limitText() routine but > that can only set a maximum of 64,000 characters (I think). The > API documentation is ambiguous. LimitText didn't help; first I tried 128K, didn't either fail, nor help; then I tried 64K, ditto; then I tried 32K, just to see if it would actually limit the text (last element in largest text was 50K +), & the *full text* was displayed in richedit, still no selection past 32K. So it would appear that at least in the not-most-recent Win32Lib, LimitText may not be working in its intended fashion for RichEdit? Maybe it's working in newest. Any other thoughts for allowing programmatic selection in richedit past 32K in Win98 1st ed without having to have user import the dll? Dan > > -- > Derek Parnell > Melbourne, Australia > > > >