CWnd::OnKeyDown
-
Hi folks, I need to be notified when a CDialog-derived class receive a WM_KEYDOWN message. This dialog is the main window of a secondary thread (not the main application one). I can see w/ the debug trace that the message is posted by my OnKeyDown oveloaded function is never called. Any idea about this? Thanx a lot in advance. Best Regards;)
-
Hi folks, I need to be notified when a CDialog-derived class receive a WM_KEYDOWN message. This dialog is the main window of a secondary thread (not the main application one). I can see w/ the debug trace that the message is posted by my OnKeyDown oveloaded function is never called. Any idea about this? Thanx a lot in advance. Best Regards;)
-
I noticed PreTranslateMessage works properly but the message is lost somewhere in between the MFC call stack. I am confident this could be due the fact there is a OCX control on the dialog that probably process the WM_. How can I be notified of the message instead of the control(s)? Best Regars, andrea:-D