Browse - Programming Tips - Why isn't my multiline edit control working?

Date: 2013jun11
Platform: Win32
OS: Windows

Q.  Why isn't my multiline edit control working?

A.  You probably forgot the ES_WANTRETURN option.  It indicates
that the control should capture carriage returns (CRs).
It does *not* set if the control should return a result or something like that.
This works:

EDITTEXT IDC_THE_TEXT,130,58,299,68,ES_MULTILINE | ES_AUTOHSCROLL | ES_WANTRETURN