RE: WantReturn
<WantReturn> simply tells the edit control to allow you to press Enter to create a new line. It does not do what you are looking for.
You need to, in this case, register the WM_KEYDOWN and check to see which key is pressed. If it is the enter key then process it.
|