This documentation is archived and is not being maintained.

CFrameWnd::SetDockState

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 
);

Parameters

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

Remarks

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

Show: