Share via


CMFCVisualManager::OnDrawRibbonLabel

The framework calls this method when it draws the label of the ribbon.

virtual void OnDrawRibbonLabel(
   CDC* pDC,
   CMFCRibbonLabel* pLabel,
   CRect rect
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] pLabel
    A pointer to a CMFCRibbonLabel object. The framework draws this ribbon label.

  • [in] rect
    A rectangle that specifies the boundaries of the ribbon panel.

Remarks

Override this method in a derived class to customize the ribbon label.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonLabel Class