This documentation is archived and is not being maintained.


Used by class CWinApp to translate window messages before they are dispatched to the TranslateMessage and DispatchMessage Windows functions.

virtual BOOL PreTranslateMessage(
   MSG* pMsg 


Points to a MSG structure that contains the message to process.

Return Value

Nonzero if the message was translated and should not be dispatched; 0 if the message was not translated and should be dispatched.

See Also

CWnd Overview | Class Members | Hierarchy Chart | TranslateMessage | IsDialogMessage | CWinApp::PreTranslateMessage