首先看看MSDN对PreTranslateMessage的说明
Override this function to filter window messages before they are dispatched to the Windows functions TranslateMessage and DispatchMessage The default implementation performs accelerator-key translation, so you must call the CWinApp::PreTranslateMessage member function in your overridden version.
virtual BOOL PreTranslateMessage( |