BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseTabbedBar::RemoveControlBar ( CWnd *  pBar)
virtual

Removes a control bar from the tabbed control bar.

Returns
It returns FALSE if the last control bar has been removed and the tabbed control bar is about to be destroyed. In this case you have to stop immediately any usage of this control bar. The returned value is TRUE if the tabbed control bar still exists after the call has returned.

Call this function to remove a control bar specified by pBar from a tabbed control bar.

Parameters
pBarA pointer to a control bar to remove.