Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!alchemy!tim From: tim@cs.ruu.nl (Tim Dumas) Newsgroups: comp.windows.ms.programmer Subject: Multiple lines in edit-control? Message-ID: <1991Jun19.133211.28102@cs.ruu.nl> Date: 19 Jun 91 13:32:11 GMT Organization: Utrecht University, Dept. of Computer Science Lines: 23 I tried to make a multiple line edit control within a dialog-box. The control appears in the dialog box. But when I type a Return, the cursor remains at the same position. The result is that the edit control acts as if it is a single-line control. The control is generated with the SDK dialog box editor and has the following styles: ES_MULTILINE | WS_CHILD | WS_VSCROLL | WS_HSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL To see what messages are generated pressing the Return key, I used the SDK Spy. The strange thing is that no message was generated at all. If somebody knows what went wrong, please answer me by email. Thanks in advance. -- Tim Dumas -- -- Department of Computer Science Padualaan 14 -- -- Utrecht University P.O. Box 80.089 -- -- E-mail: tim@cs.ruu.nl 3508 TB Utrecht, The Netherlands -- -- Telephone: +31-30-534094 Telefax: +31-30-513791 -- --