| description | Learn more about: CRecentDockSiteInfo Class | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | CRecentDockSiteInfo Class | ||||||||||||||
| ms.date | 11/04/2016 | ||||||||||||||
| f1_keywords |
|
||||||||||||||
| helpviewer_keywords |
|
||||||||||||||
| ms.assetid | 2dd14f95-d5a2-4461-a7a5-2c6c36a3a165 |
The CRecentDockSiteInfo class is a helper class that stores recent state information for the CPane Class.
class CRecentDockSiteInfo : public CObject
| Name | Description |
|---|---|
CRecentDockSiteInfo::CRecentDockSiteInfo |
Default constructor. |
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
void CleanUp();CRecentDockSiteInfo(CPane* pBar);
[in] pBar
CPaneDivider* GetRecentDefaultPaneDivider();
int GetRecentDockedPercent(BOOL bForSlider);
[in] bForSlider
CRect& GetRecentDockedRect(BOOL bForSlider);
[in] bForSlider
CList<HWND, HWND>& GetRecentListOfPanes(BOOL bForSlider);
[in] bForSlider
CPaneContainer* GetRecentPaneContainer(BOOL bForSlider);
[in] bForSlider
CPaneContainer* GetRecentTabContainer(BOOL bForSlider);
[in] bForSlider
void Init();BOOL IsRecentLeftPane(BOOL bForSlider);
[in] bForSlider
CRecentDockSiteInfo& operator=(CRecentDockSiteInfo& src);
[in] src
void SaveListOfRecentPanes(CList<HWND,
HWND>& lstOrg,
BOOL bForSlider);[in] CList<HWND
[in] lstOrg
[in] bForSlider
virtual void SetInfo(
BOOL bForSlider,
CRecentDockSiteInfo& srcInfo);
[in] bForSlider
[in] srcInfo
virtual void StoreDockInfo(
CPaneContainer* pRecentContainer,
CDockablePane* pTabbedBar = NULL);
[in] pRecentContainer
[in] pTabbedBar