共用方式為


CMFCRibbonCategory::OnDrawMenuBorder

Called by the framework to draw the border of a popup menu.

virtual void OnDrawMenuBorder(
    CDC* pDC,
    CMFCRibbonPanelMenuBar* pMenuBar
);

Parameters

  • [in] pDC
    This parameter is not used.

  • [in] pMenuBar
    This parameter is not used.

Remarks

By default this method does nothing. Override this method to draw the border of a popup menu.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart