Share via


CFrameWndEx::DockPaneLeftOf

Docks the specified pane to the left of another pane.

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

Parameters

  • [in] pBar
    A pointer to the pane object to be docked.

  • [in] pLeftOf
    A pointer to the pane to the left of which to dock the pane specified by pBar.

Return Value

TRUE if pBar is docked successfully. FALSE otherwise.

Remarks

The method takes the toolbar specified by the pBar parameter and docks it at the left side of the toolbar specified by pLeftOf parameter.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart