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

Determines whether the control bar is visible or not.

Returns
TRUE if the control bar is visible; otherwise FALSE.

You should use this function instead of CWnd::IsWindowVisible or testing for WS_VISIBLE style. The returned visibility state depends on the current autohide mode (on or off) and IsHideInAutoHideMode() property.

If the control bar is in autohide mode and CBCGPDockingControlBar::IsHideInAutoHideMode returns FALSE the visibility state is always FALSE.

If the control bar is in autohide mode and CBCGPDockingControlBar::IsHideInAutoHideMode returns TRUE the visibility state depends on the visibility state of the related autohide toolbar.

If the control bar is not in autohide mode, the call redirected to the base implementation CBCGPBaseControlBar::IsVisible.

See also
CBCGPAutoHideToolBar

Reimplemented from CBCGPBaseControlBar.