Condividi tramite


CMFCVisualManager::OnDrawRibbonPanelCaption

The framework calls this method when it draws the caption of a CMFCRibbonPanel Class.

virtual void OnDrawRibbonPanelCaption(
   CDC* pDC,
   CMFCRibbonPanel* pPanel,
   CRect rectCaption
);

Parameters

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

  • [in] pPanel
    A pointer to a CMFCRibbonPanel object. The framework draws the caption for this ribbon panel.

  • [in] rectCaption
    A rectangle that specifies the boundaries of the caption for the ribbon panel.

Remarks

Override this method in a derived class to customize the appearance of captions for ribbon panels.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonPanel Class