The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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