BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseControlBar::CanAutoHide ( ) const
inlinevirtual

Determines whether the control bar can be switched to autohide mode.

Returns
Nonzero if this control bar can be switched to autohide mode; otherwise 0.

This function is called by the framework to determine whether the control bar can be switched to the Autohide mode.

Initially, the ability to Autohide is defined by the flags passed to CreateEx.

The default implementation checks for CBRS_BCGP_AUTOHIDE flags. Override this method in a derived class if you want to customize this behavior.