BCGControlBar Pro for MFC
CBCGPSlider* CBCGPDockingControlBar::GetDefaultSlider ( ) const

Returns a pointer to the default slider of the control bar's container.

Returns
It's either pointer to a CBCGPSlider object if the control bar is docked to the main frame, or NULL, if the control bar is not docked or floating.

Call this function to get the access to the control bar's default slider. See CBCGPSlider documentation for more details about default sliders.