Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMDIFrameWndEx::InsertPane
Collapse the table of content
Expand the table of content

CMDIFrameWndEx::InsertPane

Registers the specified pane with the docking manager.

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

[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.

Header: afxMDIFrameWndEx.h

Show:
© 2015 Microsoft