BCGControlBar Pro for MFC
virtual BOOL CBCGPDockingControlBar::CheckStopSlideCondition ( BOOL  bDirection)
protectedvirtual

Called by the framework to determine when an autohide docking control bar should stop sliding.

Returns
Nonzero if the stop condition has been met; otherwise 0.

When a docking control bar is set to the autohide mode, the library uses sliding effects to show or hide the bar. This function is called by the framework when the control bar is sliding. The CheckStopSlideCondition should return TRUE when it decides that the control bar is fully shown or hidden.

You can override this method in a derived class to implement custom autohide effects.

See also
CBCGPDockingControlBar::OnSlide, CBCGPDockingControlBar::Slide
Parameters
bDirectionSpecifies the slide direction , TRUE - the bar is being shown, FALSE - the bar is being hidden.