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?
Hi Marty,
Uncheck WS_HSCROLL and ES_AUTOHSCROLL. That should do it.
Thanks, Paul.... I forgot all about that second check box.