BCGSuite for MFC
CBCGPSliderCtrl

Detailed Description

The CBCGPSliderCtrl class implements drawing of a slider control using Visual Manager. It's also designed to support drawing on DWM ("Glass") window area.

This control is created automatically when you call EnableVisualManagerStyle for CBCGPDialog, CBCGPDialogBar, CBCGPPropertySheet and CBCGPPropertyPage classes.

Inherits CSliderCtrl.

Inherited by CBCGPToolbarSliderCtrl.

Public Member Functions

 EnableProgressModeEnables the progress mode.
 
 EnableZoomButtonsEnables the zoom buttons.
 
 GetReversedOrderTells whether slider's ticks have a reversed order.
 
 GetSelectionColorGets selection color.
 
 HasZoomButtonsTells whether the control has zoom buttons.
 
 IsAlignSelToTickMarksTells whether slider's selection bar is aligned to the ticks.
 
 IsProgressModeTells whether the control's progress mode is enabled.
 
 IsSetPositionOnClickTells whether thumb should be moved to the mouse click location when user clicks the slider's channel.
 
 SetAlignSelToTickMarksSpecifies whether slider's selection bar is aligned to the ticks.
 
 SetPositionOnClickSpecifies whether thumb should be moved to the mouse click location when user clicks the slider's channel.
 
 SetReversedOrderSpecifies whether slider's ticks have a reversed order.
 
 SetSelectionColorSets selection custom background color.
 

Public Attributes

 m_bDrawFocusIt specifies whether the focus rectangle should be drawn around the focused control to indicate the user's input.
 
 m_bOnGlassSpecifies whether a control is located on the "glass" (DWM) area of the parent window.
 
 m_bVisualManagerStyleSpecifies whether a control has a Visual Manager style look.