Поделиться через


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 
);

Параметры

  • 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

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

TranslateMessage

IsDialogMessage

CWinApp::PreTranslateMessage