Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Activates a tab.
virtual BOOL SetActiveTab(
int iTab
);
Parameters
- [in] iTab
Specifies the zero-based index of the tab to activate.
Return Value
TRUE if the specified tab was made active; FALSE if the specified iTab parameter value is invalid.
Remarks
This method does not send the AFX_WM_CHANGE_ACTIVE_TAB notification to the parent window of the tab control.
The SetActiveTab method automatically calls the CMFCTabCtrl::HideActiveWindowHorzScrollBar method to prevent the screen from blinking.
Requirements
Header: afxtabctrl.h