Yes,
WM_KEYDOWN sends to window that has focus.
Focus is on child window (edit control)
You can get Child window ID, after - handle.
Make your WinProc for this window
and work with it.
Alex
http://www.brigsoft.com
: Hi ,
:
: I've created a modeless DialogBox as main window using
: "CreateDialogParam(...)" with an Edit control. When I type in from keyboard , each single character automatically gets repeated 4 times.
: I tried to trap WM_KEYDOWN and WM_CHAR message in WndProc of DialogBox but it does not seem to receive these messages.
:
: Please help me in turning off this AutoRepeat feature.
:
: Thanks a lot
: