다음을 통해 공유


CPaneContainerManager 클래스

클래스는 CPaneContainerManager 현재 도킹 레이아웃의 스토리지 및 표시를 관리합니다. 더 자세한 내용은 Visual Studio 설치의 VC\atlmfc\src\mfc 폴더에 있는 소스 코드를 참조하세요.

구문

class CPaneContainerManager : public CObject

멤버

공용 메서드

이름 설명
CPaneContainerManager::AddPane
CPaneContainerManager::AddPaneContainerManager
CPaneContainerManager::AddPaneContainerManagerToDockablePane
CPaneContainerManager::AddPanesToList
CPaneContainerManager::AddPaneToList
CPaneContainerManager::AddPaneToRecentPaneContainer
CPaneContainerManager::CalcRects
CPaneContainerManager::CanBeAttached
CPaneContainerManager::CheckAndRemoveNonValidPane
CPaneContainerManager::CheckForMiniFrameAndCaption
CPaneContainerManager::Create
CPaneContainerManager::D oesAllowDynInsertBefore
CPaneContainerManager::D oesContainFloatingPane
CPaneContainerManager::EnableGrippers
CPaneContainerManager::FindPaneContainer
CPaneContainerManager::FindTabbedPane
CPaneContainerManager::GetAvailableSpace
CPaneContainerManager::GetDefaultPaneDivider
CPaneContainerManager::GetDockSiteFrameWnd
CPaneContainerManager::GetFirstPane
CPaneContainerManager::GetFirstVisiblePane
CPaneContainerManager::GetMinMaxOffset
CPaneContainerManager::GetMinSize
CPaneContainerManager::GetNodeCount
CPaneContainerManager::GetPaneContainerRTC
CPaneContainerManager::GetPaneCount
CPaneContainerManager::GetTotalRefCount
CPaneContainerManager::GetVisiblePaneCount
CPaneContainerManager::GetWindowRect
CPaneContainerManager::HideAll
CPaneContainerManager::InsertPane
CPaneContainerManager::IsAutoHideMode
CPaneContainerManager::IsEmpty
CPaneContainerManager::IsRootPaneContainerVisible
CPaneContainerManager::NotifyPaneDivider
CPaneContainerManager::OnPaneDividerMove
CPaneContainerManager::OnShowPane
CPaneContainerManager::P aneFromPoint
CPaneContainerManager::ReleaseEmptyPaneContainers
CPaneContainerManager::RemoveAllPanesAndPaneDividers
CPaneContainerManager::RemoveNonValidPanes
CPaneContainerManager::RemovePaneDivider
CPaneContainerManager::RemovePaneFromPaneContainer
CPaneContainerManager::ReplacePane
CPaneContainerManager::ResizePaneContainers
CPaneContainerManager::Serialize 이 개체를 보관 저장소에서 읽어오거나 보관 저장소에 씁니다. ( CObject::Serialize를 재정의합니다.)
CPaneContainerManager::SetDefaultPaneDividerForPanes
CPaneContainerManager::SetPaneContainerRTC
CPaneContainerManager::SetResizeMode
CPaneContainerManager::StoreRecentDockSiteInfo

설명

프레임워크는 자동으로 개체의 CPaneContainerManager 인스턴스를 만들고 CPaneDivider 클래스 개체 또는 CMultiPaneFrameWnd 클래스 개체에 포함합니다.

클래스는 CPaneContainerManager CPaneContainer 개체에서 빌드된 이진 트리의 루트에 대한 포인터를 저장합니다.

예시

다음 예제에서는 개체에 대 한 참조 CPaneContainerManager 를 가져오는 방법을 보여 줍니다. 이 코드 조각은 창 크기 설정 샘플의 일부입니다.

// CMultiPaneFrameWnd* pParentMiniFrame
CPaneContainerManager &manager = pParentMiniFrame->GetPaneContainerManager();

상속 계층 구조

CObject

CPaneContainerManager

요구 사항

헤더: afxpanecontainermanager.h

CPaneContainerManager::AddPane

virtual void AddPane(CDockablePane* pControlBarToAdd);

매개 변수

[in] pControlBarToAdd

설명

CPaneContainerManager::AddPaneContainerManager

virtual BOOL AddPaneContainerManager(
    CPaneContainerManager& srcManager,
    BOOL bOuterEdge);

virtual BOOL AddPaneContainerManager(
    CDockablePane* pTargetControlBar,
    DWORD dwAlignment,
    CPaneContainerManager& srcManager,
    BOOL bCopy);

매개 변수

[in] srcManager
[in] bOuterEdge
[in] pTargetControlBar
[in] dwAlignment
[in] bCopy

Return Value

설명

CPaneContainerManager::AddPaneContainerManagerToDockablePane

virtual BOOL AddPaneContainerManagerToDockablePane(
    CDockablePane* pTargetControlBar,
    CPaneContainerManager& srcManager);

매개 변수

[in] pTargetControlBar
[in] srcManager

Return Value

설명

CPaneContainerManager::AddPanesToList

void AddPanesToList(
    CObList* plstControlBars,
    CObList* plstSliders);

매개 변수

[in] plstControlBars
[in] plstSliders

설명

CPaneContainerManager::AddPaneToList

void AddPaneToList(CDockablePane* pControlBarToAdd);

매개 변수

[in] pControlBarToAdd

설명

CPaneContainerManager::AddPaneToRecentPaneContainer

virtual CDockablePane* AddPaneToRecentPaneContainer(
    CDockablePane* pBarToAdd,
    CPaneContainer* pRecentContainer);

매개 변수

[in] pBarToAdd
[in] pRecentContainer

Return Value

설명

CPaneContainerManager::CalcRects

void CalcRects(
    CRect& rectOriginal,
    CRect& rectInserted,
    CRect& rectSlider,
    DWORD& dwSliderStyle,
    DWORD dwAlignment,
    CSize sizeMinOriginal,
    CSize sizeMinInserted);

매개 변수

[in] rectOriginal
[in] rectInserted
[in] rectSlider
[in] dwSliderStyle
[in] dwAlignment
[in] sizeMinOriginal
[in] sizeMinInserted

설명

CPaneContainerManager::CanBeAttached

virtual BOOL CanBeAttached() const;

Return Value

설명

CPaneContainerManager::CheckAndRemoveNonValidPane

BOOL CheckAndRemoveNonValidPane(CWnd* pWnd);

매개 변수

[in] pWnd

Return Value

설명

CPaneContainerManager::CheckForMiniFrameAndCaption

virtual BOOL CheckForMiniFrameAndCaption(
    CPoint point,
    CDockablePane** ppTargetControlBar);

매개 변수

[in]
[in] ppTargetControlBar

Return Value

설명

CPaneContainerManager::Create

virtual BOOL Create(
    CWnd* pParentWnd,
    CPaneDivider* pDefaultSlider,
    CRuntimeClass* pContainerRTC = NULL);

매개 변수

[in] pParentWnd
[in] pDefaultSlider
[in] pContainerRTC

Return Value

설명

CPaneContainerManager::D oesAllowDynInsertBefore

virtual BOOL DoesAllowDynInsertBefore() const;

Return Value

설명

CPaneContainerManager::D oesContainFloatingPane

virtual BOOL DoesContainFloatingPane();

Return Value

설명

CPaneContainerManager::EnableGrippers

virtual void EnableGrippers(BOOL bEnable);

매개 변수

[in] bEnable

설명

CPaneContainerManager::FindPaneContainer

virtual CPaneContainer* FindPaneContainer(
    CDockablePane* pBar,
    BOOL& bLeftBar);

매개 변수

[in] pBar
[in] bLeftBar

Return Value

설명

CPaneContainerManager::FindTabbedPane

CDockablePane* FindTabbedPane(UINT nID);

매개 변수

[in] nID

Return Value

설명

CPaneContainerManager::GetAvailableSpace

virtual void GetAvailableSpace(CRect& rect) const;

매개 변수

[in] rect

설명

CPaneContainerManager::GetDefaultPaneDivider

CPaneDivider* GetDefaultPaneDivider() const;

Return Value

설명

CPaneContainerManager::GetDockSiteFrameWnd

virtual CWnd* GetDockSiteFrameWnd();

Return Value

설명

CPaneContainerManager::GetFirstPane

virtual CBasePane* GetFirstPane() const;

Return Value

설명

CPaneContainerManager::GetFirstVisiblePane

virtual CWnd* GetFirstVisiblePane() const;

Return Value

설명

CPaneContainerManager::GetMinMaxOffset

virtual void GetMinMaxOffset(
    CPaneDivider* pSlider,
    int& nMinOffset,
    int& nMaxOffset,
    int& nStep);

매개 변수

[in] pSlider
[in] nMinOffset
[in] nMaxOffset
[in] nStep

설명

CPaneContainerManager::GetMinSize

virtual void GetMinSize(CSize& size);

매개 변수

[in] size

설명

CPaneContainerManager::GetNodeCount

int GetNodeCount() const;

Return Value

설명

CPaneContainerManager::GetPaneContainerRTC

CRuntimeClass* GetPaneContainerRTC() const;

Return Value

설명

CPaneContainerManager::GetPaneCount

int GetPaneCount() const;

Return Value

설명

CPaneContainerManager::GetTotalRefCount

int GetTotalRefCount() const;

Return Value

설명

CPaneContainerManager::GetVisiblePaneCount

virtual int GetVisiblePaneCount() const;

Return Value

설명

CPaneContainerManager::GetWindowRect

virtual void GetWindowRect(CRect& rect) const;

매개 변수

[in] rect

설명

CPaneContainerManager::HideAll

virtual void HideAll();

설명

CPaneContainerManager::InsertPane

virtual BOOL InsertPane(
    CDockablePane* pControlBarToInsert,
    CDockablePane* pTargetControlBar,
    DWORD dwAlignment,
    LPCRECT lpRect = NULL,
    AFX_DOCK_METHOD dockMethod = DM_UNKNOWN);

매개 변수

[in] pControlBarToInsert
[in] pTargetControlBar
[in] dwAlignment
[in] lpRect
[in] dockMethod

Return Value

설명

CPaneContainerManager::IsAutoHideMode

BOOL IsAutoHideMode() const;

Return Value

설명

CPaneContainerManager::IsEmpty

BOOL IsEmpty() const;

Return Value

설명

CPaneContainerManager::IsRootPaneContainerVisible

virtual BOOL IsRootPaneContainerVisible() const;

Return Value

설명

CPaneContainerManager::NotifyPaneDivider

void NotifyPaneDivider();

설명

CPaneContainerManager::OnPaneDividerMove

virtual int OnPaneDividerMove(
    CPaneDivider* pSlider,
    UINT uFlags,
    int nOffset,
    HDWP& hdwp);

매개 변수

[in] pSlider
[in] uFlags
[in] nOffset
[in] hdwp

Return Value

설명

CPaneContainerManager::OnShowPane

virtual BOOL OnShowPane(
    CDockablePane* pBar,
    BOOL bShow);

매개 변수

[in] pBar
[in] bShow

Return Value

설명

CPaneContainerManager::P aneFromPoint

virtual CDockablePane* PaneFromPoint(
    CPoint point,
    int nSensitivity,
    BOOL bExactBar,
    BOOL& bIsTabArea,
    BOOL& bCaption);

매개 변수

[in]
[in] nSensitivity
[in] bExactBar
[in] bIsTabArea
[in] bCaption

Return Value

설명

CPaneContainerManager::ReleaseEmptyPaneContainers

void ReleaseEmptyPaneContainers();

설명

CPaneContainerManager::RemoveAllPanesAndPaneDividers

void RemoveAllPanesAndPaneDividers();

설명

CPaneContainerManager::RemoveNonValidPanes

void RemoveNonValidPanes();

설명

CPaneContainerManager::RemovePaneDivider

virtual void RemovePaneDivider(CPaneDivider* pSlider);

매개 변수

[in] pSlider

설명

CPaneContainerManager::RemovePaneFromPaneContainer

virtual BOOL RemovePaneFromPaneContainer(CDockablePane* pControlBar);

매개 변수

[in] pControlBar

Return Value

설명

CPaneContainerManager::ReplacePane

virtual BOOL ReplacePane(
    CDockablePane* pBarOld,
    CDockablePane* pBarNew);

매개 변수

[in] pBarOld
[in] pBarNew

Return Value

설명

CPaneContainerManager::ResizePaneContainers

virtual void ResizePaneContainers(
    UINT nSide,
    BOOL bExpand,
    int nOffset,
    HDWP& hdwp);

virtual void ResizePaneContainers(
    CRect rect,
    HDWP& hdwp);

매개 변수

[in] nSide
[in] bExpand
[in] nOffset
[in] hdwp
[in] rect

설명

CPaneContainerManager::Serialize

void Serialize(CArchive& ar);

매개 변수

[in] ar

설명

CPaneContainerManager::SetDefaultPaneDividerForPanes

void SetDefaultPaneDividerForPanes(CPaneDivider* pSlider);

매개 변수

[in] pSlider

설명

CPaneContainerManager::SetPaneContainerRTC

void SetPaneContainerRTC(CRuntimeClass* pContainerRTC);

매개 변수

[in] pContainerRTC

설명

CPaneContainerManager::SetResizeMode

virtual void SetResizeMode(BOOL bResize);

매개 변수

[in] bResize

설명

CPaneContainerManager::StoreRecentDockSiteInfo

virtual void StoreRecentDockSiteInfo(CDockablePane* pBar);

매개 변수

[in] pBar

설명

참고 항목

계층 구조 차트
클래스
CObject 클래스
CPaneContainer 클래스
CPaneDivider 클래스