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.

Return Value

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

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

TranslateMessage

IsDialogMessage

CWinApp::PreTranslateMessage