Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::PreTranslateMessage
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Protected: virtual    BOOL PreTranslateMessage( MSG* pMsg );
 
  Parameter   Description
 
  <pMsg>      Points to a MSG structure that contains the message to
              process.
 
  Remarks
 
  Used by class CWinApp to translate window messages before they are
  dispatched by the DispatchMessage Windows function.
 
  Return Value
 
  TRUE if the message is translated and should not be dispatched; FALSE if
  the message was not translated and should be dispatched.
 
  See Also
 
  ::TranslateMessage, ::IsDialogMessage,
  CWinApp::PreTranslateMessage
 
 
                                     -♦-