Поделиться через


CDockingManager::AddPane

Registers a pane with the docking manager.

BOOL AddPane(
    CBasePane* pWnd,
    BOOL bTail = TRUE,
    BOOL bAutoHide = FALSE,
    BOOL bInsertForOuterEdge = FALSE
);

Parameters

  • [in, out] pWnd
    Specifies the pane to add to the docking manager.

  • [in] bTail
    TRUE to add the pane to the end of the list of panes for the docking manager; otherwise, FALSE.

  • [in] bAutoHide
    For internal use only. Always use the default value FALSE.

  • [in] bInsertForOuterEdge
    For internal use only. Always use the default value FALSE.

Return Value

TRUE if the pane was successfully registered with the docking manager; otherwise, FALSE.

Remarks

Call this method to register non-floating, non-resizable panes with the docking manager. If you do not register the panes, they will not appear correctly when the docking manager is laid out.

Requirements

Header: afxDockingManager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart