BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseTabbedBar::ShowTab ( CWnd *  pBar,
BOOL  bShow,
BOOL  bDelay,
BOOL  bActivate 
)
virtual

Shows or hides a control bar residing in a tab.

Returns
Nonzero if a tab was hidden/shown successfully; otherwise 0.

If it was a last visible tab in the underlined tab window, the tabbed control bar is hidden. If it was the first visible tab in the underlined tab window, the tabbed control is shown.

Parameters
pBarA pointer to a control bar to show or hide.
bShowSpecifies whether to show or hide the control bar.
bDelaySpecifies whether to delay or not the adjustment of the tab layout.
bActivateSpecifies whether to activate or not the tab.