CPaneContainer选件类

CPaneContainer 选件类是MFC实现的停靠设计一个基本的组件。此选件类对象存储指向两个停靠的窗格或为 CPaneContainer. 两个实例它还存储指向分隔窗格的分隔符(或容器)。通过嵌套在容器内部的容器,框架可以生成表示复杂停靠格式的二叉树。二进制树的根目录。CPaneContainerManager 对象存储。

class CPaneContainer : public CObject  

成员

Bb984123.collapse_all(zh-cn,VS.110).gif公共构造函数

名称

说明

CPaneContainer::CPaneContainer

默认构造函数。

Bb984123.collapse_all(zh-cn,VS.110).gif公共方法

名称

说明

CPaneContainer::AddPane

 

CPaneContainer::AddRef

 

CPaneContainer::AddSubPaneContainer

 

CPaneContainer::CalcAvailablePaneSpace

 

CPaneContainer::CalcAvailableSpace

 

CPaneContainer::CalculateRecentSize

 

CPaneContainer::CheckPaneDividerVisibility

 

CPaneContainer::Copy

 

CPaneContainer::DeletePane

 

CPaneContainer::FindSubPaneContainer

 

CPaneContainer::FindTabbedPane

 

CPaneContainer::GetAssociatedSiblingPaneIDs

 

CPaneContainer::GetLeftPane

 

CPaneContainer::GetLeftPaneContainer

 

CPaneContainer::GetMinSize

 

CPaneContainer::GetMinSizeLeft

 

CPaneContainer::GetMinSizeRight

 

CPaneContainer::GetNodeCount

 

CPaneContainer::GetPaneDivider

 

CPaneContainer::GetParentPaneContainer

 

CPaneContainer::GetRecentPaneDividerRect

 

CPaneContainer::GetRecentPaneDividerStyle

 

CPaneContainer::GetRecentPercent

 

CPaneContainer::GetRefCount

 

CPaneContainer::GetResizeStep

 

CPaneContainer::GetRightPane

 

CPaneContainer::GetRightPaneContainer

 

CPaneContainer::GetTotalReferenceCount

 

CPaneContainer::GetWindowRect

 

CPaneContainer::IsDisposed

 

CPaneContainer::IsEmpty

 

CPaneContainer::IsLeftPane

 

CPaneContainer::IsLeftPaneContainer

 

CPaneContainer::IsLeftPartEmpty

 

CPaneContainer::IsRightPartEmpty

 

CPaneContainer::IsVisible

 

CPaneContainer::Move

 

CPaneContainer::OnDeleteHidePane

 

CPaneContainer::OnMoveInternalPaneDivider

 

CPaneContainer::OnShowPane

 

CPaneContainer::Release

 

CPaneContainer::ReleaseEmptyPaneContainer

 

CPaneContainer::RemoveNonValidPanes

 

CPaneContainer::RemovePane

 

CPaneContainer::Resize

 

CPaneContainer::ResizePane

 

CPaneContainer::ResizePartOfPaneContainer

 

CPaneContainer::Serialize

读取或写入此对象从或对存档。(重写 CObject::Serialize。)

CPaneContainer::SetPane

 

CPaneContainer::SetPaneContainer

 

CPaneContainer::SetPaneDivider

 

CPaneContainer::SetParentPaneContainer

 

CPaneContainer::SetRecentPercent

 

CPaneContainer::SetUpByID

 

CPaneContainer::StoreRecentDockSiteInfo

 

CPaneContainer::StretchPaneContainer

 

Bb984123.collapse_all(zh-cn,VS.110).gif备注

CPaneContainer 对象由自动结构创建的。

示例

下面的示例演示如何构造一个实例 CPaneContainer 选件类。此代码段是 设置窗格大小示例的一部分。

    CPaneDialog     m_wndDlgBar;


...


    CPaneDivider* pDefaultPaneDivider = m_wndDlgBar.GetDefaultPaneDivider ();
    if (pDefaultPaneDivider == NULL)
    {
        AfxMessageBox (_T ("The DialogBar is not docked."));
        return;
    }

    BOOL bLeftBar = FALSE;
    CPaneContainer* pContainer = pDefaultPaneDivider->FindPaneContainer (&m_wndDlgBar, bLeftBar);    

继承层次结构

CObject

   CPaneContainer

要求

标头: afxpanecontainer.h

请参见

参考

层次结构图

CObject选件类

CPaneContainerManager选件类

其他资源

MFC 类