Partager via


CMFCVisualManagerOffice2003::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
    Pointer to a device context.

  • [in] pSlider
    A pointer to a CMFCRibbonSlider Class 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: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart