Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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