On Thu, Jul 21, 2011 at 5:51 AM, <os...@simsassociates.co.uk> wrote: > Is it possible to wrap text automatically in a multiline edit control?
You need to be sure you do *not* have the ES_AUTOHSCROLL style for the edit control. If you are using a resource editor, the default is probably to have that style. You would need to change it. In general, especially if you are using a resource editor, I would suggest looking at the MSDN docs for the different styles a specific control can have. The docs are free, you could get an ISO image and install them directly to your computer. And there are easily accessible online. The best Google search technique is to start the search phrase with MSDN. For the edit control, this search phrase: MSDN edit control styles puts the correct page at the top of the list. Also, in general, the styles a control has will be listed in the UserDialog section in the createXXX function. I.e., createEdit() for this example. A description of each control's styles will be listed. You can usually connect the style keyword in ooDialog with the style flag in the MSDN docs. However, not all the createXXX functions support all the possible style flags. The original developers left out many styles. I've been slowly adding the missing styles to different controls as I go. With a ResDialog there is not that restriction, you can compile in any of the available styles and the OS will show the control with those styles. I've said this before, but it is probably worth repeating. ooDialog has very little control, or does very little, concerning appearance or behavior of dialogs or dialog controls. The OS does all that. All ooDialog does is expose access to the Windows APIs available. Another thing I've said before is that if you really want to know what is possible to do with dialogs and dialog controls, the MSDN doc has the answers. -- Mark Miesfeld ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users