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.
Removes a tab from the tab control.
virtual BOOL RemoveTab(
   int iTab,
   BOOL bRecalcLayout = TRUE
);
Parameters
- [in] iTab 
 The zero-based index of a tab.
- [in] bRecalcLayout 
 A Boolean parameter that specifies whether to recalculate the layout of the tab.
Return Value
TRUE if the method removes the tab successfully; otherwise FALSE.
Remarks
If CMFCBaseTabCtrl::m_bAutoDestroyWindow is TRUE, RemoveTab destroys the CWnd object associated with the specified tab.
Requirements
Header: afxbasetabctrl.h