Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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.

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

Header: afxwin.h

© 2015 Microsoft