共用方式為


CMDIChildWndEx::DockPaneLeftOf

Docks one pane to the left of another pane.

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

Parameters

  • pBar
    A pointer to the pane that is to be docked.

  • pLeftOf
    A pointer to the pane that serves as the point of reference.

Return Value

TRUE on success, FALSE on failure.

Remarks

This method takes the pane specified by pBar and docks it at the left side of the pane specified by pLeftOf.

Call this method when you want to dock several panes in predefined order.

Requirements

Header: afxMDIChildWndEx.h

See Also

Reference

CMDIChildWndEx Class

Hierarchy Chart