virtual BOOL PreTranslateMessage( MSG *pMsg );
Return Value
Nonzero if the message was fully processed in PreTranslateMessage and should not be processed further. Zero if the message should be processed in the normal way.
Parameters
pMsg
Points to a MSG structure containing the message to process.
Remarks
Override this function to filter window messages before they are dispatched to the Windows functions ::TranslateMessage and ::DispatchMessage.
This member function is used only in user-interface threads.
CWinThread Overview | Class Members | Hierarchy Chart
See Also CWinApp::PreTranslateMessage