CDockingManager::InsertPane
Inserts a control pane into the list of control bars.
BOOL InsertPane(
CBasePane* pControlBar,
CBasePane* pTarget,
BOOL bAfter = TRUE
);
Parameters
[in] pControlBar
A pointer to a control pane.[in] pTarget
A pointer to a target pane.[in] bAfter
TRUE to insert the pane after the position of the target pane; FALSE otherwise.
Return Value
TRUE if the control pane is successfully added to the list of control bars; FALSE otherwise.
Remarks
This method returns false if the control pane is already in the list of control bars or if the target pane does not exist in the list of control bars.
Requirements
Header: afxdockingmanager.h