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

Removes a control bar from the tabbed control bar.

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.

pBarA pointer to a control bar to remove.