Problem w/ CWnd::OnKeydown
-
Hi all, I am experiencing a strange problem w/ my app. I am using CV6.0SP5 and MFC. I want to be notified when arrow key is pressed when a window has focus, so I overrode OnKeydown. The window belongs to a 2nd window thread created by the first one. The window is a Dialog based one derived by CDialog and contains a big OCX control (about 90% the client size). The keyboard message is sent (WM_KEYDOWN) (according to the TRACER), it is processed by PreTranslateMessage when is lost in the MCF stack. Do you have any idea? Thanx a lot. Regards, Andrea :)
-
Hi all, I am experiencing a strange problem w/ my app. I am using CV6.0SP5 and MFC. I want to be notified when arrow key is pressed when a window has focus, so I overrode OnKeydown. The window belongs to a 2nd window thread created by the first one. The window is a Dialog based one derived by CDialog and contains a big OCX control (about 90% the client size). The keyboard message is sent (WM_KEYDOWN) (according to the TRACER), it is processed by PreTranslateMessage when is lost in the MCF stack. Do you have any idea? Thanx a lot. Regards, Andrea :)