RichEdit Control problem

Started by Marty Francom, November 02, 2007, 01:23:11 AM

Previous topic - Next topic

Marty Francom

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?

TechSupport

Hi Marty,

Uncheck WS_HSCROLL and ES_AUTOHSCROLL. That should do it.


Marty Francom

Thanks, Paul.... I forgot all about that second check box.