This documentation is archived and is not being maintained.

CWnd::PreTranslateMessage 

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


virtual BOOL PreTranslateMessage(
   MSG* pMsg 
);

Parameters

pMsg

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

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

Show: