*
*/
// ID line follows -- this is updated by SVN
-// $Id: HexMergeFrm.cpp 6653 2009-04-12 09:30:35Z jtuc $
+// $Id: HexMergeFrm.cpp 7166 2010-05-16 12:05:13Z jtuc $
#include "stdafx.h"
#include "Merge.h"
: m_hIdentical(NULL)
, m_hDifferent(NULL)
{
- m_bActivated = FALSE;
m_nLastSplitPos = 0;
m_pMergeDoc = 0;
}
}
}
+void CHexMergeFrame::ActivateFrame(int nCmdShow)
+{
+ if (!GetMDIFrame()->MDIGetActive() && theApp.GetProfileInt(_T("Settings"), _T("ActiveFrameMax"), FALSE))
+ {
+ nCmdShow = SW_SHOWMAXIMIZED;
+ }
+ CMDIChildWnd::ActivateFrame(nCmdShow);
+}
+
/**
* @brief Save the window's position, free related resources, and destroy the window
*/