CMFCVisualManager::OnDrawRibbonCaptionButton

The framework calls this method when it draws a caption button located on the ribbon bar.

virtual void OnDrawRibbonCaptionButton(
   CDC* pDC,
   CMFCRibbonCaptionButton* pButton
);

Parameters

  • pDC
    A pointer to a device context.

  • pButton
    A pointer to a CMFCRibbonCaptionButton. The framework draws this caption button.

Remarks

Override this method in a derived visual manager to customize the appearance of a caption button on the ribbon.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart