Partager via


CMFCVisualManagerOffice2003::OnDrawRibbonSliderThumb

The framework calls this method when it draws the thumb of a CMFCRibbonSlider Class object

virtual void OnDrawRibbonSliderThumb(
   CDC* pDC,
   CMFCRibbonSlider* pSlider,
   CRect rect,
   BOOL bIsHighlighted,
   BOOL bIsPressed,
   BOOL bIsDisabled
);

Parameters

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

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

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

  • [in] bIsHighlighted
    A Boolean parameter that indicates whether the thumb is highlighted.

  • [in] bIsPressed
    A Boolean parameter that indicates whether the thumb is pressed.

  • [in] bIsDisabled
    A Boolean parameter that indicates whether the thumb is unavailable.

Remarks

Override this method in a derived visual manager to customize the appearance of the thumb for a ribbon slider.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart