Compartir a través de


CPaneContainerManager (clase)

La clase CPaneContainerManager administra el almacenamiento y la presentación del diseño de acoplamiento actual. Para obtener información más detallada, consulta el código fuente que se ubica en la carpeta VC\atlmfc\src\mfc de la instalación de Visual Studio.

Sintaxis

class CPaneContainerManager : public CObject

Miembros

Métodos públicos

Nombre Descripción
CPaneContainerManager::AddPane
CPaneContainerManager::AddPaneContainerManager
CPaneContainerManager::AddPaneContainerManagerToDockablePane
CPaneContainerManager::AddPanesToList
CPaneContainerManager::AddPaneToList
CPaneContainerManager::AddPaneToRecentPaneContainer
CPaneContainerManager::CalcRects
CPaneContainerManager::CanBeAttached
CPaneContainerManager::CheckAndRemoveNonValidPane
CPaneContainerManager::CheckForMiniFrameAndCaption
CPaneContainerManager::Create
CPaneContainerManager::DoesAllowDynInsertBefore
CPaneContainerManager::DoesContainFloatingPane
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::PaneFromPoint
CPaneContainerManager::ReleaseEmptyPaneContainers
CPaneContainerManager::RemoveAllPanesAndPaneDividers
CPaneContainerManager::RemoveNonValidPanes
CPaneContainerManager::RemovePaneDivider
CPaneContainerManager::RemovePaneFromPaneContainer
CPaneContainerManager::ReplacePane
CPaneContainerManager::ResizePaneContainers
CPaneContainerManager::Serialize Lee o escribe este objeto de o en un archivo. (Invalida CObject::Serialize).
CPaneContainerManager::SetDefaultPaneDividerForPanes
CPaneContainerManager::SetPaneContainerRTC
CPaneContainerManager::SetResizeMode
CPaneContainerManager::StoreRecentDockSiteInfo

Comentarios

El marco crea automáticamente instancias de objetos CPaneContainerManager e los inserta en objetos de clase CPaneDivider o en objetos de clase CMultiPaneFrameWnd.

La clase CPaneContainerManager almacena un puntero a la raíz de un árbol binario creado a partir de objetos CPaneContainer.

Ejemplo

En el siguiente ejemplo se muestra cómo obtener una referencia a un objeto CPaneContainerManager. Este fragmento de código forma parte del ejemplo de Establecer tamaño de panel.

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

Jerarquía de herencia

CObject

CPaneContainerManager

Requisitos

Encabezado: afxpanecontainermanager.h

CPaneContainerManager::AddPane

virtual void AddPane(CDockablePane* pControlBarToAdd);

Parámetros

[in] pControlBarToAdd

Comentarios

CPaneContainerManager::AddPaneContainerManager

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

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

Parámetros

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

Valor devuelto

Comentarios

CPaneContainerManager::AddPaneContainerManagerToDockablePane

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

Parámetros

[in] pTargetControlBar
[in] srcManager

Valor devuelto

Comentarios

CPaneContainerManager::AddPanesToList

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

Parámetros

[in] plstControlBars
[in] plstSliders

Comentarios

CPaneContainerManager::AddPaneToList

void AddPaneToList(CDockablePane* pControlBarToAdd);

Parámetros

[in] pControlBarToAdd

Comentarios

CPaneContainerManager::AddPaneToRecentPaneContainer

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

Parámetros

[in] pBarToAdd
[in] pRecentContainer

Valor devuelto

Comentarios

CPaneContainerManager::CalcRects

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

Parámetros

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

Comentarios

CPaneContainerManager::CanBeAttached

virtual BOOL CanBeAttached() const;

Valor devuelto

Comentarios

CPaneContainerManager::CheckAndRemoveNonValidPane

BOOL CheckAndRemoveNonValidPane(CWnd* pWnd);

Parámetros

[in] pWnd

Valor devuelto

Comentarios

CPaneContainerManager::CheckForMiniFrameAndCaption

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

Parámetros

[in] point
[in] ppTargetControlBar

Valor devuelto

Comentarios

CPaneContainerManager::Create

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

Parámetros

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

Valor devuelto

Comentarios

CPaneContainerManager::DoesAllowDynInsertBefore

virtual BOOL DoesAllowDynInsertBefore() const;

Valor devuelto

Comentarios

CPaneContainerManager::DoesContainFloatingPane

virtual BOOL DoesContainFloatingPane();

Valor devuelto

Comentarios

CPaneContainerManager::EnableGrippers

virtual void EnableGrippers(BOOL bEnable);

Parámetros

[in] bEnable

Comentarios

CPaneContainerManager::FindPaneContainer

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

Parámetros

[in] pBar
[in] bLeftBar

Valor devuelto

Comentarios

CPaneContainerManager::FindTabbedPane

CDockablePane* FindTabbedPane(UINT nID);

Parámetros

[in] nID

Valor devuelto

Comentarios

CPaneContainerManager::GetAvailableSpace

virtual void GetAvailableSpace(CRect& rect) const;

Parámetros

[in] rect

Comentarios

CPaneContainerManager::GetDefaultPaneDivider

CPaneDivider* GetDefaultPaneDivider() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetDockSiteFrameWnd

virtual CWnd* GetDockSiteFrameWnd();

Valor devuelto

Comentarios

CPaneContainerManager::GetFirstPane

virtual CBasePane* GetFirstPane() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetFirstVisiblePane

virtual CWnd* GetFirstVisiblePane() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetMinMaxOffset

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

Parámetros

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

Comentarios

CPaneContainerManager::GetMinSize

virtual void GetMinSize(CSize& size);

Parámetros

[in] size

Comentarios

CPaneContainerManager::GetNodeCount

int GetNodeCount() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetPaneContainerRTC

CRuntimeClass* GetPaneContainerRTC() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetPaneCount

int GetPaneCount() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetTotalRefCount

int GetTotalRefCount() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetVisiblePaneCount

virtual int GetVisiblePaneCount() const;

Valor devuelto

Comentarios

CPaneContainerManager::GetWindowRect

virtual void GetWindowRect(CRect& rect) const;

Parámetros

[in] rect

Comentarios

CPaneContainerManager::HideAll

virtual void HideAll();

Comentarios

CPaneContainerManager::InsertPane

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

Parámetros

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

Valor devuelto

Comentarios

CPaneContainerManager::IsAutoHideMode

BOOL IsAutoHideMode() const;

Valor devuelto

Comentarios

CPaneContainerManager::IsEmpty

BOOL IsEmpty() const;

Valor devuelto

Comentarios

CPaneContainerManager::IsRootPaneContainerVisible

virtual BOOL IsRootPaneContainerVisible() const;

Valor devuelto

Comentarios

CPaneContainerManager::NotifyPaneDivider

void NotifyPaneDivider();

Comentarios

CPaneContainerManager::OnPaneDividerMove

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

Parámetros

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

Valor devuelto

Comentarios

CPaneContainerManager::OnShowPane

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

Parámetros

[in] pBar
[in] bShow

Valor devuelto

Comentarios

CPaneContainerManager::PaneFromPoint

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

Parámetros

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

Valor devuelto

Comentarios

CPaneContainerManager::ReleaseEmptyPaneContainers

void ReleaseEmptyPaneContainers();

Comentarios

CPaneContainerManager::RemoveAllPanesAndPaneDividers

void RemoveAllPanesAndPaneDividers();

Comentarios

CPaneContainerManager::RemoveNonValidPanes

void RemoveNonValidPanes();

Comentarios

CPaneContainerManager::RemovePaneDivider

virtual void RemovePaneDivider(CPaneDivider* pSlider);

Parámetros

[in] pSlider

Comentarios

CPaneContainerManager::RemovePaneFromPaneContainer

virtual BOOL RemovePaneFromPaneContainer(CDockablePane* pControlBar);

Parámetros

[in] pControlBar

Valor devuelto

Comentarios

CPaneContainerManager::ReplacePane

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

Parámetros

[in] pBarOld
[in] pBarNew

Valor devuelto

Comentarios

CPaneContainerManager::ResizePaneContainers

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

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

Parámetros

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

Comentarios

CPaneContainerManager::Serialize

void Serialize(CArchive& ar);

Parámetros

[in] ar

Comentarios

CPaneContainerManager::SetDefaultPaneDividerForPanes

void SetDefaultPaneDividerForPanes(CPaneDivider* pSlider);

Parámetros

[in] pSlider

Comentarios

CPaneContainerManager::SetPaneContainerRTC

void SetPaneContainerRTC(CRuntimeClass* pContainerRTC);

Parámetros

[in] pContainerRTC

Comentarios

CPaneContainerManager::SetResizeMode

virtual void SetResizeMode(BOOL bResize);

Parámetros

[in] bResize

Comentarios

CPaneContainerManager::StoreRecentDockSiteInfo

virtual void StoreRecentDockSiteInfo(CDockablePane* pBar);

Parámetros

[in] pBar

Comentarios

Consulte también

Gráfico de jerarquías
Clases
CObject (clase)
CPaneContainer (clase)
CPaneDivider (clase)