Partager via


CMFCVisualManager::OnDrawRibbonSliderChannel

The framework calls this method when it draws the channel of a CMFCRibbonSlider Class.

virtual void OnDrawRibbonSliderChannel(
   CDC* pDC,
   CMFCRibbonSlider* pSlider,
   CRect rect
);

Parameters

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

  • [in] pSlider
    A pointer to a CMFCRibbonSlider object. The framework draws the channel for this ribbon slider.

  • [in] rect
    A rectangle that specifies the boundaries for the channel of the ribbon slider.

Remarks

Override this method in a derived class to customize the appearance of the channel of the ribbon slider.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonSlider Class