Delen via


CFrameWndEx::InsertPane

Inserts a pane into a list of control bars and registers it with the docking manager.

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

Parameters

  • pControlBar
    A pointer to a control bar to be inserted into the list of control bars and registered with the docking manager.

  • pTarget
    A pointer to a control bar before or after which to insert the pane.

  • bAfter
    TRUE if you want to insert pControlBar after pTarget, FALSE otherwise.

Return Value

TRUE if the control bar was successfully inserted and registered, FALSE otherwise.

Remarks

You must register each control bar by using the CDockingManager Class to take a part in the docking layout.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart