Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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.

	DockPaneLeftOf(&m_wndToolbarEdit, &m_wndToolbarBuild);

Header: afxMDIFrameWndEx.h

© 2015 Microsoft