Vassili Philippov (vasja@spbteam.com), September 14, 2001.
I want to create an edit control with multiline text (or label control, or button control, etc). What should I do for that?
You should set Multiline flag in style and text in control should contain 'new line' symbols. For different controls you should use either \n or \r\n to divide lines. For button and edit controls use \r\n for all other control types use \n.
Use dialog editor to set multiline style for your controls.
Here is a sample code that sets multiline text to different controls.
You could download sample project (48 Kb) that shows working with multiline text in different controls.