BCGControlBar Pro for MFC
virtual BOOL CBCGPDockingControlBar::CheckAutoHideCondition ( )
protectedvirtual

Called be the framework to determine whether the docking control bar should be hidden (in autohide mode).

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

The framework uses a timer to constantly check whether an autohide docking control bar should be hidden or not. The condition is met when the docking control bar is not active, is not being resized and the mouse cursor is not over the control bar's window area.

If the hide condition has been met the CheckAutoHideCondition function calls CBCGPDockingControlBar::Slide with FALSE initiating slide out.