Partager via


CDockingManager::InsertDockSite

Creates a dock pane and inserts it into the list of control bars.

BOOL InsertDockSite(
   const AFX_DOCKSITE_INFO& info,
   DWORD dwAlignToInsertAfter,
   CDockSite** ppDockBar = NULL
);

Parameters

  • [in] info
    A structure that contains the alignment information about the dock pane.

  • [in] dwAlignToInsertAfter
    Alignment of the dock pane.

  • [out] ppDockBar
    A pointer to a pointer to a dock pane.

Return Value

TRUE if the dock pane was created successfully; FALSE otherwise.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart