Share via


CFrameWndEx::DockPane

Docks the specified pane to the frame window.

void DockPane(
   CBasePane* pBar,
   UINT nDockBarID=0,
   LPCRECT lpRect=NULL 
);

Parameters

  • [in] pBar
    A pointer to the control bar to be docked.

  • [in] nDockBarID
    The ID of the side of the frame window to dock to.

  • [in] lpRect
    A pointer to a constant Rect structure that specifies the window's screen position and size.

Remarks

The nDockBarID parameter can have one of the following values:

  • AFX_IDW_DOCKBAR_TOP

  • AFX_IDW_DOCKBAR_BOTTOM

  • AFX_IDW_DOCKBAR_LEFT

  • AFX_IDW_DOCKBAR_RIGHT

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart