Did you try the ES_WANTRETURN style? (requires ES_MULTILINE as well)

BTW If you use WS_CHILD then you should cast the HMENU param in CreateWindow() to the controls ID.

This would allow you to...