const char CLeashFrame::s_profileTool[] = "tool";
const char CLeashFrame::s_profileStatus[] = "status";
-IMPLEMENT_DYNAMIC(CLeashFrame, CFrameWnd)
+IMPLEMENT_DYNAMIC(CLeashFrame, CFrameWndEx)
-BEGIN_MESSAGE_MAP(CLeashFrame, CFrameWnd)
+BEGIN_MESSAGE_MAP(CLeashFrame, CFrameWndEx)
//{{AFX_MSG_MAP(CLeashFrame)
ON_WM_DESTROY()
//}}AFX_MSG_MAP
SaveBarState(AfxGetApp()->m_pszProfileName);
- CFrameWnd::OnDestroy();
+ CFrameWndEx::OnDestroy();
}
///////////////////////////////////////////////////////////////
{
m_bFirstTime = FALSE;
- LoadBarState(AfxGetApp()->m_pszProfileName);
}
- CFrameWnd::ActivateFrame(nCmdShow);
+ CFrameWndEx::ActivateFrame(nCmdShow);
}