共用方式為


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

Reference

CMFCVisualManager Class

Hierarchy Chart