CWnd::PreTranslateMessage

Syntax

Protected:
virtual BOOL PreTranslateMessage( MSG*
pMsg );

Parameters

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