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

Determines whether a control bar is visible or not.

Nonzero if a control bar is visible; otherwise 0.

Use this function to determine the visibility of a control bar. Do not use CWnd's (or SDK) method 'IsWindowVisible'.

This function checks for WS_VISIBLE style if the control bar is not tabbed (see IsTabbed). If the control bar is tabbed it checks the visibility of the parent tabbed window. If the parent window is visible, the function checks for the visibility of the control bar tab using CBCGPBaseTabWnd::IsTabVisible.

Reimplemented in CBCGPDockingControlBar, and CBCGPToolBoxPage.