I have a parent window of this style:
WS_CLIPCHILDREN | WS_OVERLAPPEDWINDOW & ~WS_THICKFRAME & ~WS_MAXIMIZEBOX
then i have a child window of this style:
WS_CHILD | WS_VISIBLE
I want my child window to be able to handle keyboard msg. However, it is always the parent window that receives the WM_KEYDOWN msg.
I tried using SetFocus(). It didnt work.
Can someone tell me what should i do? Thanks alot! :)