Partager via


CBasePane::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: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart