共用方式為


CFrameWndEx::PreTranslateMessage

Handles specific window messages before they are dispatched.

virtual BOOL PreTranslateMessage(
   MSG* pMsg
);

Parameters

  • [in] pMsg
    A pointer to a MSG Structure structure that contains the message to process.

Return Value

Non-zero if the message was handled and should not be dispatched; 0 if the message was not handled and should be dispatched.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart