Condividi tramite


CDockingManager::AddDockSite

Creates a dock pane and adds it to the list of control bars.

BOOL AddDockSite(
   const AFX_DOCKSITE_INFO& info,
   CDockSite** ppDockBar = NULL
);

Parameters

  • [in] info
    A reference to an info structure that contains dock pane alignment.

  • [out] ppDockBar
    A pointer to a pointer to the new 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