Share via


CDockingPanesRow クラス

ドッキング サイトの同じ水平または垂直の行 (列) に配置されるペインの一覧を管理します。

詳細については、Visual Studio インストールの VC\atlmfc\src\mfc フォルダーにあるソース コードを参照してください。

構文

class CDockingPanesRow : public CObject

メンバー

パブリック コンストラクター

名前 説明
CDockingPanesRow::CDockingPanesRow 既定のコンストラクターです。

パブリック メソッド

名前 説明
CDockingPanesRow::AddPane
CDockingPanesRow::AddPaneFromRow
CDockingPanesRow::ArrangePanes 指定された余白および間隔のパラメーターに基づいてウィンドウを並べて整列します。
CDockingPanesRow::CalcFixedLayout
CDockingPanesRow::Create
CDockingPanesRow::ExpandStretchedPanes
CDockingPanesRow::ExpandStretchedPanesRect
CDockingPanesRow::FixupVirtualRects
CDockingPanesRow::GetAvailableLength
CDockingPanesRow::GetAvailableSpace
CDockingPanesRow::GetClientRect
CDockingPanesRow::GetDockSite
CDockingPanesRow::GetExtraSpace
CDockingPanesRow::GetGroupFromPane
CDockingPanesRow::GetID
CDockingPanesRow::GetMaxPaneSize
CDockingPanesRow::GetPaneCount
CDockingPanesRow::GetPaneList
CDockingPanesRow::GetRowAlignment
CDockingPanesRow::GetRowHeight
CDockingPanesRow::GetRowOffset
CDockingPanesRow::GetVisibleCount
CDockingPanesRow::GetWindowRect
CDockingPanesRow::HasPane
CDockingPanesRow::IsEmpty
CDockingPanesRow::IsExclusiveRow
CDockingPanesRow::IsHorizontal
CDockingPanesRow::IsVisible
CDockingPanesRow::Move
CDockingPanesRow::MovePane
CDockingPanesRow::OnResizePane
CDockingPanesRow::RedrawAll
CDockingPanesRow::RemovePane
CDockingPanesRow::ReplacePane
CDockingPanesRow::RepositionPanes
CDockingPanesRow::Resize
CDockingPanesRow::ResizeByPaneDivider
CDockingPanesRow::ScreenToClient
CDockingPanesRow::SetExtra
CDockingPanesRow::ShowDockSiteRow
CDockingPanesRow::ShowPane
CDockingPanesRow::UpdateVisibleState

解説

CDockingPanesRow オブジェクトは、ドック サイト オブジェクトによって内部的に作成されます。

CMFCAutoHideBar オブジェクトから CDockingPanesRow オブジェクトを取得する方法を次の例に示します。

CMFCAutoHideBar *pParentBar = new CMFCAutoHideBar();
CDockingPanesRow *pParentRow = pParentBar->GetDockSiteRow();

継承階層

CObject

CDockingPanesRow

必要条件

ヘッダー: afxDockingPanesRow.h

CDockingPanesRow::AddPane

virtual void AddPane(
    CPane* pControlBar,
    AFX_DOCK_METHOD dockMethod,
    LPCRECT lpRect = NULL,
    BOOL bAddLast = FALSE);

パラメーター

[入力] pControlBar

[in] dockMethod

[入力] lpRect

[in] bAddLast

解説

CDockingPanesRow::AddPaneFromRow

virtual void AddPaneFromRow(
    CPane* pControlBar,
    AFX_DOCK_METHOD dockMethod);

パラメーター

[入力] pControlBar

[in] dockMethod

解説

CDockingPanesRow::ArrangePanes

指定した余白と間隔のパラメーターに従って、ドッキング ウィンドウを行に配置します。

virtual void ArrangePanes(
    int nMargin,
    int nSpacing);

パラメーター

nMargin
[in]行の左上隅からの最初のペインのオフセットをピクセル単位で指定します。

nSpacing
[in]ペイン間の間隔をピクセル単位で指定します。

解説

ペインをドッキングする行に配置するには、このメソッドを呼び出します。 このメソッドを呼び出した後、呼び出す CDockingPanesRow::FixupVirtualRects(FALSE, NULL)必要があります。

CDockingPanesRow::CalcFixedLayout

virtual CSize CalcFixedLayout(
    BOOL bStretch,
    BOOL bHorz);

パラメーター

[in] bStretch

[in] bHorz

戻り値

解説

CDockingPanesRow::CDockingPanesRow

CDockingPanesRow(
    CDockSite* pParentDockBar,
    int nOffset,
    int nHeight);

パラメーター

[in] pParentDockBar

[in] nOffset

[in] nHeight

解説

CDockingPanesRow::Create

virtual BOOL Create();

戻り値

解説

CDockingPanesRow::ExpandStretchedPanes

void ExpandStretchedPanes();

解説

CDockingPanesRow::ExpandStretchedPanesRect

void ExpandStretchedPanesRect();

解説

CDockingPanesRow::FixupVirtualRects

void FixupVirtualRects(
    bool bMoveBackToVirtualRect,
    CPane* pBarToExclude = NULL);

パラメーター

[in] bMoveBackToVirtualRect

[in] pBarToExclude

解説

CDockingPanesRow::GetAvailableLength

virtual int GetAvailableLength(BOOL bUseVirtualRect = FALSE) const;

パラメーター

[in] bUseVirtualRect

戻り値

解説

CDockingPanesRow::GetAvailableSpace

virtual void GetAvailableSpace(CRect& rect);

パラメーター

[in] Rect

解説

CDockingPanesRow::GetClientRect

void GetClientRect(CRect& rect) const;

パラメーター

[in] Rect

解説

CDockingPanesRow::GetDockSite

CDockSite* GetDockSite() const;

戻り値

解説

CDockingPanesRow::GetExtraSpace

int GetExtraSpace() const;

戻り値

解説

CDockingPanesRow::GetGroupFromPane

void GetGroupFromPane(
    CPane* pBar,
    CObList& lst);

パラメーター

[入力] pBar

[in] Lst

解説

CDockingPanesRow::GetID

int GetID() const;

戻り値

解説

CDockingPanesRow::GetMaxPaneSize

int GetMaxPaneSize(BOOL bSkipHiddenBars = TRUE) const;

パラメーター

[in] bSkipHiddenBars

戻り値

解説

CDockingPanesRow::GetPaneCount

int GetPaneCount() const;

戻り値

解説

CDockingPanesRow::GetPaneList

const CObList& GetPaneList() const;

戻り値

解説

CDockingPanesRow::GetRowAlignment

DWORD GetRowAlignment() const;

戻り値

解説

CDockingPanesRow::GetRowHeight

int GetRowHeight() const;

戻り値

解説

CDockingPanesRow::GetRowOffset

int GetRowOffset() const;

戻り値

解説

CDockingPanesRow::GetVisibleCount

virtual int GetVisibleCount();

戻り値

解説

CDockingPanesRow::GetWindowRect

void GetWindowRect(CRect& rect) const;

パラメーター

[in] Rect

解説

CDockingPanesRow::HasPane

BOOL HasPane(CBasePane* pControlBar);

パラメーター

[入力] pControlBar

戻り値

解説

CDockingPanesRow::IsEmpty

virtual BOOL IsEmpty() const;

戻り値

解説

CDockingPanesRow::IsExclusiveRow

virtual BOOL IsExclusiveRow() const;

戻り値

解説

CDockingPanesRow::IsHorizontal

bool IsHorizontal() const;

戻り値

解説

CDockingPanesRow::IsVisible

virtual BOOL IsVisible() const;

戻り値

解説

CDockingPanesRow::Move

virtual void Move(int nOffset);

パラメーター

[in] nOffset

解説

CDockingPanesRow::MovePane

void MovePane(
    CPane* pControlBar,
    CPoint ptOffset,
    BOOL bSwapControlBars,
    HDWP& hdwp);

void MovePane(
    CPane* pControlBar,
    CRect rectTarget,
    HDWP& hdwp);

void MovePane(
    CPane* pControlBar,
    int nOffset,
    bool bForward,
    HDWP& hdwp);

void MovePane(
    CPane* pControlBar,
    int nAbsolutOffset,
    HDWP& hdwp);

パラメーター

[入力] pControlBar

[in] ptOffset

[in] bSwapControlBars

[入力] hdwp

[in] rectTarget

[in] nOffset

[in] bForward

[in] nAbsolutOffset

解説

CDockingPanesRow::OnResizePane

virtual void OnResizePane(CBasePane* pControlBar);

パラメーター

[入力] pControlBar

解説

CDockingPanesRow::RedrawAll

void RedrawAll();

解説

CDockingPanesRow::RemovePane

virtual void RemovePane(CPane* pControlBar);

パラメーター

[入力] pControlBar

解説

CDockingPanesRow::ReplacePane

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

パラメーター

[in] pBarOld

[in] pBarNew

戻り値

解説

CDockingPanesRow::RepositionPanes

virtual void RepositionPanes(
    CRect& rectNewParentBarArea,
    UINT nSide = (UINT)-1,
    BOOL bExpand = FALSE,
    int nOffset = 0);

パラメーター

[in] rectNewParentBarArea

[in] nSide

[in] bExpand

[in] nOffset

解説

CDockingPanesRow::Resize

virtual int Resize(int nOffset);

パラメーター

[in] nOffset

戻り値

解説

CDockingPanesRow::ResizeByPaneDivider

virtual int ResizeByPaneDivider(int /*ignored*/);

パラメーター

[in] 無視

戻り値

解説

CDockingPanesRow::ScreenToClient

void ScreenToClient(CRect& rect) const;

パラメーター

[in] Rect

解説

CDockingPanesRow::SetExtra

void SetExtra(
    int nExtraSpace,
    AFX_ROW_ALIGNMENT rowExtraAlign);

パラメーター

[in] nExtraSpace

[in] rowExtraAlign

解説

CDockingPanesRow::ShowDockSiteRow

virtual void ShowDockSiteRow(
    BOOL bShow,
    BOOL bDelay);

パラメーター

[入力] bShow

[入力] bDelay

解説

CDockingPanesRow::ShowPane

virtual BOOL ShowPane(
    CPane* pControlBar,
    BOOL bShow,
    BOOL bDelay = FALSE);

パラメーター

[入力] pControlBar

[入力] bShow

[入力] bDelay

戻り値

解説

CDockingPanesRow::UpdateVisibleState

virtual void UpdateVisibleState(BOOL bDelay);

パラメーター

[入力] bDelay

解説

関連項目

階層図
クラス
CObject クラス
CDockSite クラス
CPane クラス