Dylan Smith : richedit: Pressing enter adds newline on WM_KEYDOWN rather than WM_CHAR.