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


CFrameWnd::GetDockState

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

void GetDockState(
   CDockState& state 
) const;

Параметры

  • state
    Contains the current state of the frame window's control bars upon return.

Заметки

You can then write the contents of CDockState to storage using CDockState::SaveState or Serialize. If you later want to restore the control bars to a previous state, load the state with CDockState::LoadState or Serialize, then call SetDockState to apply the previous state to the frame window's control bars.

Требования

Header: afxwin.h

См. также

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

CFrameWnd Class

CFrameWnd Members

Hierarchy Chart

CFrameWnd::SetDockState

CDockState Class

CDockState::SaveState

CObject::Serialize