Dela via


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

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

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class