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

Activates a tab.

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.

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

Implements CBCGPBaseTabImpl.