[comp.windows.ms.programmer] Multiple lines in edit-control?

tim@cs.ruu.nl (Tim Dumas) (06/19/91)

  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             --
--