CMFCRibbonBaseElement::OnChangeMenuHighlight

Called by the framework when the highlight changes for a ribbon element that is located in a menu.

virtual void OnChangeMenuHighlight(
   CMFCRibbonPanelMenuBar* pPanelMenuBar
   CMFCRibbonBaseElement* pHot
);

Parameters

  • [in] pPanelMenuBar
    This parameter is not used.

  • [in] pHot
    This parameter is not used.

Remarks

By default this method does nothing. Override this method to update a ribbon element that is located in a menu when the highlight changes.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart