Re: WordWrap in MleText
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Oct 08, 2000
- 371 views
Derek, Neat! 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)? Dan ----- Original Message ----- From: "Derek Parnell" <dparnell at BIGPOND.NET.AU> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, October 08, 2000 4:05 AM Subject: Re: WordWrap in MleText > Hi, > in the next release of win32lib, you will be able to specify the exact flags > that are used when creating controls, thereby getting around the default > flags for a class. > --- > Derek > > > ----- Original Message ----- > From: "Judith Evans" <camping at FLASH.NET> > To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > Sent: Sunday, October 08, 2000 9:42 PM > Subject: Re: WordWrap in MleText > > > > Dan, > > That's correct. You can also remove the Vertical scrollbar and have a nice > > 'box' that can't grow on you which I have used in a little book program I > > started but have not completed. > > > > I had asked for this awhile ago 'cause I hate modifying win32lib.ew but > the > > general feedback was we didn't want to kludge up win32lib with all these > > 'special' controls and that maybe sometype of 'style' change could be > > incorporated to achieve. I don't know where all that stands since I've > been > > completely absorbed in IDE. I've still 'stuck' back on version 50. > > > > Judith Evans > > > > > > > > On Sun, 8 Oct 2000 03:29:52 -0700, Dan B Moyer <DANMOYER at PRODIGY.NET> > wrote: > > > > >Ad, Derek, David, Judith, and all, > > > > > >I find this hard to believe, but I think I found something *very* > > >interesting! > > > > > >if you delete "WS_HSCROLL" from Win32Lib at > > >"MleEdit" , > > > > > >you can then have AUTOMATIC WORD WRAP! Without doing or adding ANYTHING > > >else! Just like that! Wow! ('cause it's built it already somewhere.) > > > > > >And as a BONUS (?), it appears to give an automatic "text selection" > > >function, at least visually, and I would suppose that there should be > some > > >way to programmatically get the selected text or its boundaries, or > > >something, too. > > > > > >Does this look right to anyone else??? > > > > > >Dan Moyer > > > > > > > > >----- Original Message ----- > > >From: "Ad Rienks" <kwibus at ZONNET.NL> > > >To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > > >Sent: Friday, October 06, 2000 8:19 AM > > >Subject: WordWrap in MleText > > > > > > > > >Hello, > > > > > >Just a quick question. I thought this would be easy, but I can't find it > in > > >any documentation on Win32Lib I've read. > > >How do you create a MleText control with WordWrap and ReadOnly? > > >ReadOnly is easy, just use ES_READONLY as the last parameter in create(). > > >That works nice; but I could not find a constant for WordWrap. > > > > > >Thanks for your support, > > > > > >Ad