BCGSuite for MFC
CBCGPToolbarSlider

Detailed Description

The CBCGPToolbarSlider object encapsulates the functionality of a slider control. It allows to embed a slider into toolbar buttons and put them on toolbars created using BCGControlBar Library framework.

Inherits CBCGPToolbarButton.

Public Member Functions

 CBCGPToolbarSliderConstructs a CBCGPToolbarSlider object.
 
 EnableProgressModeEnables the progress mode.
 
 EnableZoomButtonsEnables the zoom buttons.
 
 GetReversedOrderTells whether slider's ticks have a reversed order.
 
 GetValueReurns a slider's value.
 
 HasZoomButtonsTells whether the control has zoom buttons.
 
 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.
 
 SetPositionOnClickSpecifies whether thumb should be moved to the mouse click location when user clicks the slider's channel.
 
 SetRangeSpecifies a slider's range.
 
 SetReversedOrderSpecifies whether slider's ticks have a reversed order.
 
 SetValueSets a value.
 

Static Public Member Functions

 GetPosReturns position of the slider with a given command ID.
 
 IsCenterVertTells whether the control is centered, or aligned at the top of toolbar.
 
 SetCenterVertSpecifies whether the control should be centered vertically or aligned to the top of toolbar.