CRecentDockSiteInfo Class
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CRecentDockSiteInfo Class.
The CRecentDockSiteInfo class is a helper class that stores recent state information for the CPane Class.
class CRecentDockSiteInfo : public CObject
Public Constructors
| Name | Description |
|---|---|
CRecentDockSiteInfo::CRecentDockSiteInfo | Default constructor. |
Public Methods
The CRecentDockSiteInfo class is a data management class. It tracks the last state of a CPane as it transitions between being docked and floating. When a user double clicks a floating dockable pane, it becomes docked. Double clicking the docked pane returns it to its previous location, size, and state. Similarly, when the pane is re-docked it returns to its previous docking location. This data class is what makes that possible. Since the members of this class store state information for the docked pane, they should not be directly modified by your application.
A CRecentDockSiteInfo object is created every time that a pane is created. Each CPane object has a member variable, CPane::m_recentDockInfo, to store this information.
Header: afxrecentDockSiteInfo.h
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.
void CleanUp();
Remarks
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.
CRecentDockSiteInfo(CPane* pBar);
Parameters
[in] pBar
Remarks
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.
CPaneDivider* GetRecentDefaultPaneDivider();
Return Value
Remarks
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.
int GetRecentDockedPercent(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
CRect& GetRecentDockedRect(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
CList<HWND, HWND>& GetRecentListOfPanes(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
CPaneContainer* GetRecentPaneContainer(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
CPaneContainer* GetRecentTabContainer(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
void Init();
Remarks
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.
BOOL IsRecentLeftPane(BOOL bForSlider);
Parameters
[in] bForSlider
Return Value
Remarks
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.
CRecentDockSiteInfo& operator=(CRecentDockSiteInfo& src);
Parameters
[in] src
Return Value
Remarks
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.
void SaveListOfRecentPanes(CList<HWND,
HWND>& lstOrg,
BOOL bForSlider);
Parameters
[in] CList<HWND
[in] lstOrg
[in] bForSlider
Remarks
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.
virtual void SetInfo(
BOOL bForSlider,
CRecentDockSiteInfo& srcInfo);
Parameters
[in] bForSlider
[in] srcInfo
Remarks
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.
virtual void StoreDockInfo(
CPaneContainer* pRecentContainer,
CDockablePane* pTabbedBar = NULL);
Parameters
[in] pRecentContainer
[in] pTabbedBar