Поделиться через


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

Параметры

  • 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

Требования

Header: afxwin.h

См. также

Основные понятия

CFrameWnd Class

CFrameWnd Members

Hierarchy Chart

CFrameWnd::GetDockState

CDockState Class

CDockState::LoadState

CObject::Serialize