Re: Win32Lib: RichEdit wordwrap
- Posted by Derek Parnell <ddparnell at bigpond.com> May 26, 2001
- 448 views
Hi again, sorry, I don't think I made myself clear. The 0.55 version you are now using, it should have these flags to work. If it doesn't you should change your copy of w32lib.ew to match this... classStyle[RichEdit]=or_all({WS_CHILD, WS_VISIBLE, WS_VSCROLL, ES_DISABLENOSCROLL, ES_AUTOVSCROLL, WS_TABSTOP, ES_SAVESEL, ES_MULTILINE, WS_BORDER}) The problem with 0.52 was that it did word wrap ok, but you couldn't scroll up and down the text. By adding ... WS_VSCROLL, ES_DISABLENOSCROLL, ES_AUTOVSCROLL, you can scroll and see the vertical scroll bar. > Thanks for looking. If you do find a way to change the attributes, > please note it in the changes list. Again, thanks! and keep up the > excellent work! I really don't think that it can be done. Once the control is created, the wrapping mode is set. I can't even change the righthand margin, would might have simulated no-wordwrap. ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."