Compartilhar via


CMFCVisualManager::OnDrawRibbonSliderThumb

The framework calls this method when it draws the thumb of a CMFCRibbonSlider 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. 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 if the thumb is highlighted.

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

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

Remarks

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

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonSlider Class