Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Call this member function to apply state information stored in a CDockState object to the frame window's control bars.

void SetDockState(
   const CDockState& state 


Apply the stored state to the frame window's control bars.


To restore a previous state of the control bars, you can load the stored state with CDockState::LoadState or Serialize, then use SetDockState to apply it to the frame window's control bars. The previous state is stored in the CDockState object with GetDockState

See Also

CFrameWnd Overview | Class Members | Hierarchy Chart | CFrameWnd::GetDockState | CDockState | CDockState::LoadState | CObject::Serialize

© 2015 Microsoft