PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marty Francom on November 02, 2007, 01:23:11 AM

Title: RichEdit Control problem
Post by: Marty Francom on November 02, 2007, 01:23:11 AM
How do I turn on and off text wrapping in the RichEdit Control?

I am loading a file in the RichEdit control and would like for the lines to wrap to the size of the control.  Instead I have a very long line of text with a horizonal scroll bar.  I tried turning off the scroll bar but that just left the long line of text without a way to read all of it.  I would like the text to wrap to the size of the multiline RichEdit box. 

What do I need to do?
Title: Re: RichEdit Control problem
Post by: TechSupport on November 02, 2007, 01:17:30 PM
Hi Marty,

Uncheck WS_HSCROLL and ES_AUTOHSCROLL. That should do it.

Title: Re: RichEdit Control problem
Post by: Marty Francom on November 06, 2007, 05:05:00 PM
Thanks, Paul.... I forgot all about that second check box.