CMDIChildWndEx::InsertPane

Registers the specified pane with the docking manager.

BOOL InsertPane(
   CBasePane* pControlBar,
   CBasePane* pTarget,
   BOOL bAfter = TRUE
);

Parameters

  • [in] pControlBar
    A pointer to the pane to insert.

  • [in] pTarget
    A pointer to the adjacent pane.

  • [in] bAfter
    If TRUE, pControlBar is inserted after pTarget. If FALSE, pControlBar is inserted before pTarget.

Return Value

TRUE if the method succeeds, FALSE otherwise.

Requirements

Header: afxmdichildwndex.h

See Also

Reference

CMDIChildWndEx Class

Hierarchy Chart