Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Override this function to filter window messages before they are dispatched to the Windows functions TranslateMessage and DispatchMessage.

virtual BOOL PreTranslateMessage( 
   MSG *pMsg  

Points to a MSG structure containing the message to process.

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.

This member function is used only in user-interface threads.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.