Expand Minimize
This topic has not yet been rated - Rate this topic

CDockingManager::InsertPane

Inserts a control pane into the list of control bars.

BOOL InsertPane(
   CBasePane* pControlBar,
   CBasePane* pTarget,
   BOOL bAfter = TRUE
);
[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.

TRUE if the control pane is successfully added to the list of control bars; FALSE otherwise.

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.

Header: afxdockingmanager.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.