OSDN Git Service

Change default maximized window
authorsdottaka <none@none>
Tue, 12 Feb 2013 03:49:28 +0000 (19:49 -0800)
committersdottaka <none@none>
Tue, 12 Feb 2013 03:49:28 +0000 (19:49 -0800)
Src/OpenFrm.cpp

index 769acea..49c2140 100644 (file)
@@ -149,7 +149,7 @@ void COpenFrame::GetMessageString(UINT nID, CString& rMessage) const
 
 void COpenFrame::ActivateFrame(int nCmdShow) 
 {
-       if (!GetMDIFrame()->MDIGetActive() && theApp.GetProfileInt(_T("Settings"), _T("ActiveFrameMax"), FALSE))
+       if (!GetMDIFrame()->MDIGetActive() && theApp.GetProfileInt(_T("Settings"), _T("ActiveFrameMax"), TRUE))
        {
                nCmdShow = SW_SHOWMAXIMIZED;
        }