BCGControlBar Pro for MFC
virtual BOOL CBCGPDockingControlBar::IsHideInAutoHideMode ( ) const

Called by the framework to determine the control bar behavior in autohide mode when the control bar is shown or hidden by ShowControlBar().

TRUE - if the control bar should be hidden; otherwise FALSE.

When a docking control bar is in autohide mode it may behave differently when you call CBCGPDockingControlBar::ShowControlBar trying to hide or show the control bar.

The behavior is controlled by the static member m_bHideInAutoHideMode. If this member is TRUE the control bar and its related autohide toolbar/autohide button will be hidden or shown when you call CBCGPDockingControlBar::ShowControlBar with (FALSE or TRUE). Otherwise, the control bar will be just rolled activated or deactivated and its related autohide toolbar/button will remain always visible.

Because this function is called by the framework, you can override this member function in a derived class and alter the default behavior for individual control bars.

The default value for m_bHideInAutoHideMode is FALSE

See also
CBCGPAutoHideToolBar, CBCGPAutoHideButton