共用方式為


CMFCRibbonBar::OnShowRibbonContextMenu

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnShowRibbonContextMenu(
   CWnd* pWnd,
   int x,
   int y,
   CMFCRibbonBaseElement* pHit
);

Parameters

  • [in] pWnd
     

  • [in] x
     

  • [in] y
     

  • [in] pHit
     

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart