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

Activates a view.

Returns
Nonzero if the specified view was activated; it is 0 if the view's index is invalid.

Use this function to activate a tab.

See CBCGPTabWnd::SetActiveTab for details.

Parameters
iTabNumThe zero-based tab number.