Registers the specified pane with the docking manager.
- [in] pControlBar
A pointer to the pane to be inserted.
- [in] pTarget
A pointer to the pane before or after which to insert the pane.
- [in] bAfter
If TRUE, pControlBar is inserted after pTarget. If FALSE, pControlBar is inserted before pTarget.
TRUE if the method successfully registers the pane, FALSE if the pane was already registered with the docking manager.
Use this method to tell the docking manager about a pane specified by pControlBar. The docking manager will align this pane according to the pane's alignment and position in the docking manager's internal list.