Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMDIFrameWndEx::DockPaneLeftOf
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft