다음을 통해 공유


CBaseTabbedPane Class

Extends the functionality of the CDockablePane Class to support the creation of tabbed windows.

class CBaseTabbedPane : public CDockablePane

Members

Public Constructors

Name

Description

CBaseTabbedPane::CBaseTabbedPane

Default constructor.

Public Methods

Name

Description

CBaseTabbedPane::AddTab

Adds a new tab to a tabbed pane.

CBaseTabbedPane::AllowDestroyEmptyTabbedPane

 

CBaseTabbedPane::ApplyRestoredTabInfo

Applies tab settings loaded from the registry to a tabbed pane.

CBaseTabbedPane::CanFloat

Determines whether the pane can float. (Overrides CBasePane::CanFloat.)

CBaseTabbedPane::CanSetCaptionTextToTabName

Determines whether the caption for the tabbed pane should display the same text as the active tab.

CBaseTabbedPane::ConvertToTabbedDocument

  (Overrides CDockablePane::ConvertToTabbedDocument.)

CBaseTabbedPane::DetachPane

 

CBaseTabbedPane::EnableSetCaptionTextToTabName

Enables or disables the ability of the tabbed pane to synchronize caption text with the label text on the active tab.

CBaseTabbedPane::FillDefaultTabsOrderArray

 

CBaseTabbedPane::FindPaneByID

Returns a pane identified by the pane ID.

CBaseTabbedPane::FindBarByTabNumber

Returns a pane that resides in a tab when the tab is identified by a zero-based tab index.

CBaseTabbedPane::FloatTab

Floats a pane, but only if the pane currently resides in a detachable tab.

CBaseTabbedPane::GetDefaultTabsOrder

 

CBaseTabbedPane::GetFirstVisibleTab

 

CBaseTabbedPane::GetMinSize

  (Overrides CPane::GetMinSize.)

CBaseTabbedPane::GetPaneIcon

Returns a handle to the pane icon. (Overrides CBasePane::GetPaneIcon.)

CBaseTabbedPane::GetPaneList

 

CBaseTabbedPane::GetTabArea

Returns the bounding rectangles for the top and bottom tab areas.

CBaseTabbedPane::GetTabsNum

Returns the count of tabs in a tab window.

CBaseTabbedPane::GetUnderlyingWindow

Gets the underlying (wrapped) tab window.

CBaseTabbedPane::GetVisibleTabsNum

Returns the count of visible tabs.

CBaseTabbedPane::HasAutoHideMode

Determines whether the tabbed pane can be switched to autohide mode.

CBaseTabbedPane::IsHideSingleTab

Determines whether the tabbed pane is hidden if only one tab is displayed.

CBaseTabbedPane::LoadSiblingPaneIDs

 

CBaseTabbedPane::RecalcLayout

  (Overrides CPane::RecalcLayout.)

CBaseTabbedPane::RemovePane

Removes a pane from the tabbed pane.

CBaseTabbedPane::SaveSiblingBarIDs

 

CBaseTabbedPane::Serialize

  (Overrides CDockablePane::Serialize.)

CBaseTabbedPane::SerializeTabWindow

 

CBaseTabbedPane::SetAutoDestroy

Determines whether the tabbed control bar will be destroyed automatically.

CBaseTabbedPane::SetAutoHideMode

Toggles the docking pane between visible and autohide mode. (Overrides CDockablePane::SetAutoHideMode.)

CBaseTabbedPane::ShowTab

Shows or hides a tab.

Remarks

This class is an abstract class and cannot be instantiated. It implements the services that are common to all kinds of tabbed panes.

Currently, the library includes two derived tabbed pane classes: CTabbedPane Class and CMFCOutlookBar Class.

A CBaseTabbedPane object wraps a pointer to a CMFCBaseTabCtrl Class object. CMFCBaseTabCtrl Class then becomes a child window of the tabbed pane.

For more information about how to create tabbed panes, see CDockablePane Class, CTabbedPane Class, and CMFCOutlookBar Class.

Inheritance Hierarchy

CObject

   CCmdTarget

      CWnd

         CBasePane

            CPane

               CDockablePane

                  CBaseTabbedPane

Requirements

Header: afxBaseTabbedPane.h

See Also

Reference

Hierarchy Chart

CDockablePane Class

Other Resources

MFC Classes