Share via


CMFCMenuButton::PreTranslateMessage

Called by the framework to translate window messages before they are dispatched.

virtual BOOL PreTranslateMessage(
   MSG* pMsg
);

Parameters

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

Return Value

Nonzero if the message was translated and should not be dispatched; 0 if the message was not translated and should be dispatched.

Requirements

Header: afxmenubutton.h

See Also

Reference

CMFCMenuButton Class

Hierarchy Chart