CWinThread::PreTranslateMessage

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

virtual BOOL PreTranslateMessage(
   MSG *pMsg 
);

Параметры

  • 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

См. также

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

CWinThread Class

CWinThread Members

Hierarchy Chart

CWinApp::PreTranslateMessage