BCGControlBar Pro for MFC
BOOL CBCGPTabView::RemoveView ( int  iTabNum)

Removes a view from the tab view.

The index of the removed view if successful, otherwise -1.

Call this function to remove a view from the tab control that embedded to the frame.

iTabNumSpecifies the index of the view to remove.