Dela via


CMFCVisualManager::OnDrawRibbonLaunchButton

The framework calls this method when it draws a CMFCRibbonLaunchButton object.

virtual void OnDrawRibbonLaunchButton(
   CDC* pDC,
   CMFCRibbonLaunchButton* pButton,
   CMFCRibbonPanel* pPanel
);

Parameters

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

  • [in] pButton
    A pointer to a CMFCRibbonLaunchButton object. The framework draws this launch button.

  • [in] pPanel
    A pointer to the CMFCRibbonPanel Class that contains the launch button.

Remarks

Override this method in a derived class to customize the appearance of the launch button.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class