共用方式為


CPane::SetDockState

Restores docking state information for the pane.

virtual void SetDockState(
   CDockingManager* pDockManager
);

Parameters

  • [in] pDockManager
    Pointer to the docking manager for the main frame window.

Remarks

This method is called by the framework to restore recent docking state information for the pane. A pane stores recent docking state information in CPane::m_recentDockInfo. For more information, see the CRecentDockSiteInfo Class.

You can also call this method to set the docking state when you load pane information from an external source.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart

CPane::m_recentDockInfo

CRecentDockSiteInfo Class