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 |
---|---|
Adds a new tab to a tabbed pane. |
|
|
|
Applies tab settings loaded from the registry to a tabbed pane. |
|
Determines whether the pane can float. (Overrides CBasePane::CanFloat.) |
|
Determines whether the caption for the tabbed pane should display the same text as the active tab. |
|
(Overrides CDockablePane::ConvertToTabbedDocument.) |
|
|
|
Enables or disables the ability of the tabbed pane to synchronize caption text with the label text on the active tab. |
|
|
|
Returns a pane identified by the pane ID. |
|
Returns a pane that resides in a tab when the tab is identified by a zero-based tab index. |
|
Floats a pane, but only if the pane currently resides in a detachable tab. |
|
|
|
|
|
(Overrides CPane::GetMinSize.) |
|
Returns a handle to the pane icon. (Overrides CBasePane::GetPaneIcon.) |
|
|
|
Returns the bounding rectangles for the top and bottom tab areas. |
|
Returns the count of tabs in a tab window. |
|
Gets the underlying (wrapped) tab window. |
|
Returns the count of visible tabs. |
|
Determines whether the tabbed pane can be switched to autohide mode. |
|
Determines whether the tabbed pane is hidden if only one tab is displayed. |
|
|
|
(Overrides CPane::RecalcLayout.) |
|
Removes a pane from the tabbed pane. |
|
|
|
(Overrides CDockablePane::Serialize.) |
|
|
|
Determines whether the tabbed control bar will be destroyed automatically. |
|
Toggles the docking pane between visible and autohide mode. (Overrides CDockablePane::SetAutoHideMode.) |
|
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
Requirements
Header: afxBaseTabbedPane.h