Export (0) Print
Expand All
Expand Minimize

CMDIFrameWndEx::DockPaneLeftOf

Docks one pane to the left of another pane.

BOOL DockPaneLeftOf(
   CPane* pBar,
   CPane* pLeftOf 
);

[in] pBar

A pointer to the docking pane.

[in] pLeftOf

A pointer to the pane that serves as the dock site. .

Returns TRUE if the operation is successful. Otherwise returns FALSE.

Call this method to dock several pane objects in a predefined order. This method docks the pane specified by pBar to the left of the pane specified by pLeftOf.

The following example shows how the DockPaneLeftOf method is used in the VisualStudioDemo Sample: MFC Visual Studio Application.

	DockPane(&m_wndToolbarBuild);
	DockPaneLeftOf(&m_wndToolbarEdit, &m_wndToolbarBuild);

Header: afxMDIFrameWndEx.h

Show:
© 2014 Microsoft