CDockSite Class
This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
Provides functionality for arranging panes that are derived from the CPane Class into sets of rows.
class CDockSite: public CBasePane
Members
Public Methods
Name |
Description |
---|---|
|
|
(Overrides CBasePane::AdjustDockingLayout.) |
|
(Overrides CBasePane::AdjustLayout.) |
|
|
|
(Overrides CBasePane::CalcFixedLayout.) |
|
(Overrides CBasePane::CanAcceptPane.) |
|
(Overrides CBasePane::CreateEx.) |
|
|
|
(Overrides CBasePane::DockPane.) |
|
(Overrides CBasePane::DoesAllowDynInsertBefore.) |
|
|
|
|
|
|
|
|
|
(Overrides CBasePane::IsAccessibilityCompatible.) |
|
|
|
|
|
|
|
(Overrides CBasePane::IsResizable.) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns a pane that is docked in the dock site at the point specified by the given parameter. |
|
Docks a pane to the left of another pane. |
|
Returns the pane that is identified by the given ID. |
|
Returns a list of panes that are docked at the dock site. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shows the pane. |
|
|
|
|
Remarks
The framework creates CDockSite objects automatically when you call CFrameWndEx::EnableDocking. Dock site windows are positioned at the edge of the client area on the main frame window.
You usually do not have to call the services provided by the dock site because CFrameWndEx Class handles these services.
Example
The following example demonstrates how to create an object of the CDockSite class.
AFX_DOCKSITE_INFO info;
CDockSite* pDockBar = (CDockSite*) info.pDockBarRTC->CreateObject();
Inheritance Hierarchy
Requirements
Header: afxDockSite.h