BCGControlBar Pro for MFC
virtual BOOL CBCGPTabWnd::SetActiveTab ( int  iTab)
virtual

Activates a tab.

Returns
Nonzero if the specified tab was activated; it is 0 if the tab index is invalid.

Use this function to activate a tab.

This function doesn't send BCGM_CHANGE_ACTIVE_TAB notification to a parent window of the tab control..

The SetActiveTab function automatically calls HideActiveWindowHorzScrollBar() to prevent blinking.

Parameters
iTabSpecifies the zero-based index of a tab to activate.

Implements CBCGPBaseTabImpl.