Click to See Complete Forum and Search --> : Why my edit box don't send message?


Piji
August 10th, 2002, 05:21 PM
I make my own edit box with:
hWndEditFr=CreateWindow("EDIT","",WS_GROUP|WS_TABSTOP|WS_VISIBLE|
WS_CHILD | ES_AUTOHSCROLL
,40,50,105,30,hWnd,(HMENU)(IDC_Edit),NULL,NULL);

To read the Edit Box, i use:
GetWindowText(hWndEdit,string1,70);
It works perfectly but i would like to know when the user uses Escape or
Return.
The message WM_KEYDOWN is never send to my window then how can i do it?
Thanks.