Persistent MDI State
BCGControlBar Pro (MFC)
BCGSuite (MFC)
BCGControlBar for .NET
The library provides a simple and efficient way to save/load MDI opened documents and MDI Tab Groups state. So, all documents will be automatically reloaded at application startup.
Sample code:
BOOL CMyApp::InitInstance()
{
pMainFrame->LoadMDIState (GetRegSectionPath ());
return TRUE;
}
void CMainFrame::OnClose()
{
SaveMDIState (theApp.GetRegSectionPath ());
CBCGPMDIFrameWnd::OnClose();
}