共用方式為


CMFCBaseTabCtrl::EnableTabDetach

Enables detachable tabs.

virtual BOOL EnableTabDetach(
   int iTab,
   BOOL bEnable
);

Parameters

  • [in] iTab
    The zero-based index of a tab.

  • [in] bEnable
    A Boolean that indicates whether to make the tab detachable.

Return Value

TRUE if successful; otherwise FALSE.

Requirements

Header: afxbasetabctrl.h

See Also

Reference

CMFCBaseTabCtrl Class

Hierarchy Chart