// HistDrawFrame.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"
#include "UtilErr.h"			// For FFMessageBox.
#include "UtilStr.h"			// For FormatResString.
#include "DynamicDrawView.h"	// For g_pView.
// 04.06.27 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "CtlBrHTree.h"			// For m_pCtlBrHTree.
// 05.01.23 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "CtlBrChip.h"			// For CFCCtlBrChip.
#include "DlgRepairDoc.h"		// For CFCDlgRepairDoc.
//#include "DlgInitUserRegistration.h"	// For CFCDlgInitUserRegistration.
#include "HistDrawFrame.h"		// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

// Superclass_xZkqqHx_iCmMjCoIiLgAiBeC_xHqqkZx_

/////////////////////////////////////////////////////////////////////////////
// CFCHistDrawFrame

IMPLEMENT_DYNCREATE(CFCHistDrawFrame, CFCCommonDrawFrame)

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::CFCHistDrawFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDhEiDeIiDiLiDgHiDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCHistDrawFrame::CFCHistDrawFrame ()
{
//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiBeC_xHqqkZx_
//	m_pCtlBrHTree = NULL;
//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCHistDrawFrame::CFCHistDrawFrame.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::~CFCHistDrawFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCHistDrawFrame::~CFCHistDrawFrame ()
{
} // CFCHistDrawFrame::~CFCHistDrawFrame.

BEGIN_MESSAGE_MAP(CFCHistDrawFrame, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCHistDrawFrame)
	ON_WM_TIMER()
	//}}AFX_MSG_MAP
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HIST_DRAW_MAIN, CFCMainFrame::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HIST_DRAW_MAIN, CFCMainFrame::OnViewToolbars)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFCHistDrawFrame _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_

//----- 06.01.23 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::UpdateLabel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAnNjCoIjCiGiCmMiDiJiDhIiDiLiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::UpdateLabel ()
//{
//// 01.12.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////	m_tolBrLabel.UpdateLabel(g_pHistDrawDoc->GetHistoryIndex());
//} // CFCHistDrawFrame::UpdateLabel.
//----- 06.01.23 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.08.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::IsUnflushWarning
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhEiDeAiDeDiDiLiCmMiDhEiDiJiDgCiDfGiDiFiCkKiPgPjHiIiCmEiCkCiCmIiCkCiMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGjCiGiCkJiBeI_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.04.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCHistDrawFrame::IsUnflushWarning () const
//{
//	return m_bIsUnflushWarning;
//} // CFCHistDrawFrame::IsUnflushWarning.
//----- 03.08.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.01.22 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::SetChipStoreVisible
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIsVisible	: _xZkqqHx_jFfMiOkGiPpDjBnEiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.12.23 Fukushiro M. DynamicDrawFrame_xZkqqHx_iCkJiCoHiInKjDkOiBeC_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::SetChipStoreVisible (BOOL bIsVisible)
//{
//	// _xZkqqHx_jAnNjCoIiCmJjFmPiNfIiCmIiCkCiPoKiNiHiCmNjFjMiLeBiBeC_xHqqkZx_
//	if (IsChipStoreVisible() == bIsVisible) return;
//
//	// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLjFfMiOkGjCiGiCmFiBeBiDgAiDgCiDhGiDfIiDgHiDeBiCpAjFfMiOkGiClHiCoJiPoKiNiHiCmNiBeB_xHqqkZx_
//	// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAiPmBiLiOiClFiCmEiCkJiCoHjFfMiOkGiClHiCoJiBeC_xHqqkZx_
//	if (m_pCtlBrHTree->IsWindowVisible() && bIsVisible)
//		m_pCtlBrHTree->ShowWindow(SW_HIDE);
//
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::SetChipStoreVisible(bIsVisible);
//} // CFCHistDrawFrame::SetChipStoreVisible.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::SetHtreeViewVisible
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bVisible	:_xZkqqHx_jFfMiOkGiClHiCoJiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBjEpBjFfMiOkGiCmMiPoKiNiHiCmN_xHqqkZx_ FALSE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::SetHtreeViewVisible (BOOL bIsVisible)
//{
//	// _xZkqqHx_jAnNjCoIiCmJjFmPiNfIiCmIiCkCiPoKiNiHiCmNjFjMiLeBiBeC_xHqqkZx_
//	if (IsHtreeViewVisible() == bIsVisible) return;
//
//	// _xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBjFfMiOkGjCiGiCmFiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjFfMiOkGiClHiCoJiPoKiNiHiCmNiBeB_xHqqkZx_
//	// _xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiCpAiPmBiLiOiClFiCmEiCkJiCoHjFfMiOkGiClHiCoJiBeC_xHqqkZx_
//	if (IsChipStoreVisible() && bIsVisible)
//		m_pCtlBrChipStore->ShowWindow(SW_HIDE);
//
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::SetHtreeViewVisible(bIsVisible);
//} // CFCHistDrawFrame::SetHtreeViewVisible.
//----- 05.01.22 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnFirstExecute
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiNmFiPiJiCmMiLeOjDkOiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistDrawFrame::OnFirstExecute ()
{
	// MolipDraw.exe_xZkqqHx_iCmMjBlGiNnNiClHiCoJiDhAiDfIiCpAiOoGiCoIiPgPiClHiBeCiDhAiDfIiNmFiMoDiCmJ_xHqqkZx_"\"_xZkqqHx_iCkKjFhEiCkCiCmEiCkCiCoJiBeC_xHqqkZx_
	WString wstrDirPath = FFGetFileDirectory(FFGetMolipExePath());
	// DD_xZkqqHx_iDfIiDiJiDeDiDgIiCpAjFfMiOkGiBeC_xHqqkZx_
	FFImageMessageBox(wstrDirPath + L"DynamicDrawPro.ddsw");
	// _xZkqqHx_iNkBiClHiCkOiDgAiDiFiBfLiDgHiDiKiDeBiDiLiDiAiBfLiDhCiBfLiCpAiNmEjAlGiClFiCnMiClHiCkJiBeI_xHqqkZx_\r\n_xZkqqHx_iMoDiCmFiDeJiDjDiDiJiDeDiDjDiDhHiDiLiDhGiCkJiCoHiCoAiNmEjAlGiCmFiCkLiCnMiClHiBeC_xHqqkZx_
	if (FFMessageBox(IDS_MSG_IS_START_TUTORIAL_MOVIE, 0, MB_YESNO) == IDYES)
	{
		// _xZkqqHx_iDgGiDiCiDiAiBfLiDhCiBfLiCpAiNmEjAlGiClHiCoJiBeC_xHqqkZx_
		CString strDemo = WStrToTStr(FFGetFileDirectory(FFGetMolipExePath()) + L"ddprodemo.wmv");
		ShellExecute(0, _T("open"), strDemo, NULL, NULL, SW_SHOW);
	}
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnFirstExecute();
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiDiGiBfLiDfFiBfLiPoOjFpBiCpAiNfIjAfGiBeC_xHqqkZx_
	// BASE_CLASS::OnFirstExecute()_xZkqqHx_iCmFiBeBiDiGiBfLiDfFiBfLiPoOjFpBiCkKjAnNjCoIiClDiCoKiCoJiClNiCnPiBeC_xHqqkZx_
	FFGetHiMainWnd()->SetStatusBarUser(FFGetApp()->GetUserId(), FFGetApp()->GetUserName());
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // CFCHistDrawFrame::OnFirstExecute.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::PostOnCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnCreate_xZkqqHx_iKnGjAjEiCmMiOmAiNhDjClMiMoDiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lpCreateStruct	: _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiPiJiKpKiJlLiKgFiOoNjFmPjAjEiCmMiNfMjBkCjBmMiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistDrawFrame::PostOnCreate (CFrameWnd* pWndFrame)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::PostOnCreate(pWndFrame);
	// _xZkqqHx_jHjKjHpAjGnIiNfMjBkCiDhCiDiFiBfLiCkKiDgAiDgCiDhGiDfIiDgHiDeBiCoGiCoIiNlGjBkEiCmJjHiIiCoJiCoGiCkEiCmJ_xHqqkZx_Z_xZkqqHx_iDeJiBfLiDfPiBfLiCpAjClCjAkOiBeC_xHqqkZx_
	m_pCtlBrChipStore->SetWindowPos(m_pCtlBrHTree, 0,0,0,0,
								SWP_NOACTIVATE|SWP_NOCOPYBITS|SWP_NOMOVE|SWP_NOREDRAW|SWP_NOSIZE);
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiDiGiBfLiDfFiBfLiPoOjFpBiCpAiNfIjAfGiBeC_xHqqkZx_
	FFGetHiMainWnd()->SetStatusBarUser(FFGetApp()->GetUserId(), FFGetApp()->GetUserName());
	// _xZkqqHx_iMlLiNnNiCmMiOjOiKnEiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmJjAnNjCoIiBeC_xHqqkZx_
	SetStatusBarDate(FFGetCurrentSecTime());
	// _xZkqqHx_iOjOiMhGjHhAiOjOiKnEjCmKjCgNiBeC_xHqqkZx_
	SetTimer(FDTIMER_FRAME_FOR_WATCH, FD_INTERVAL_FRAME_FOR_WATCH, NULL);
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // CFCHistDrawFrame::PostOnCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::PreOnDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnDestroy_xZkqqHx_iKnGjAjEiCmMiOmAiNhDiOjOiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistDrawFrame::PreOnDestroy ()
{
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iOjOiMhGjHhAiOjOiKnEjCmKjCgNiBeC_xHqqkZx_
	KillTimer(FDTIMER_FRAME_FOR_WATCH);
//----- 06.04.06 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::PreOnDestroy();
} // CFCHistDrawFrame::PreOnDestroy.

//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::PreOnDestroy
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnDestroy_xZkqqHx_iKnGjAjEiCmMiOmAiNhDiOjOiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::PreOnDestroy ()
//{
//	//----- _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmMjEgKiKpM_xHqqkZx_ -----
//	m_pCtlBrHTree->DestroyWindow();
//	delete m_pCtlBrHTree;
//	m_pCtlBrHTree = NULL;
//
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::PreOnDestroy();
//} // CFCHistDrawFrame::PreOnDestroy.
//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::GetZoomToolBarInfo
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDeDiDjDiDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiCmJjFeLjHhGiCmIiPoOjFpBiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	idCmd	:_xZkqqHx_iDgPiBfLiCmJiKiEiCoIjAfFiCoJiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
// *			idRes	:_xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDgDiBfLiDiLiDgPiBfLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
// *			idStr	:_xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDfOiDeDiDgHiDiLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//void CFCHistDrawFrame::GetZoomToolBarInfo (	DWORD& idCmd,
//										DWORD& idRes,
//										DWORD& idStr) const
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
void CFCHistDrawFrame::GetZoomToolBarInfo (DWORD& idCmd) const
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
{
	idCmd = ID_VIEW_TOOLBAR_HIST_DRAW_MAIN;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	idRes = IDR_HIST_DRAW;
//	idStr = IDS_HIST_DRAW;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCHistDrawFrame::GetZoomToolBarInfo.

/////////////////////////////////////////////////////////////////////////////
// CFCHistDrawFrame _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

//----- 04.06.26 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnDestroy
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkKjEgKiKpMiClDiCoKiCoJiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnDestroy ()
//{
//	//----- _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmMjEgKiKpM_xHqqkZx_ -----
//	m_pCtlBrHTree->DestroyWindow();
//	delete m_pCtlBrHTree;
//	m_pCtlBrHTree = NULL;
//
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnDestroy();
//} // CFCHistDrawFrame::OnDestroy.
//----- 04.06.26 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 00.02.09 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnViewLabelPanel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiJiDhIiDiLjAkHiMoEiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnViewLabelPanel ()
//{
////	m_pDlgLabelPanel->ShowWindow(SW_SHOW);
////	m_bIsLabelPanelVisible = !m_bIsLabelPanelVisible;
//} // CFCHistDrawFrame::OnViewLabelPanel.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateViewLabelPanel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiJiDhIiDiLjAkHiMoEiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCpAjDmBjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateViewLabelPanel (CCmdUI* pCmdUI)
//{
////	pCmdUI->SetCheck(m_bIsLabelPanelVisible);
//} // CFCHistDrawFrame::OnUpdateViewLabelPanel.
//----- 00.02.09 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnLabelViewPoint
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiDhMiDeDiDjDiDgHiCnGiDhCiDiFiBfLiCpAiInKjDkOiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnLabelViewPoint ()
//{
//	// _xZkqqHx_iMlLiNnNjBeJjBpAjCiGiCmMiDiJiDhIiDiL_xHqqkZx_ID_xZkqqHx_iCpAiOoGjDlOiBeC_xHqqkZx_
//	const DWORD dwLabelId = m_tolBrLabel.GetCurLabelSel();
//	// _xZkqqHx_iMlLiNnNjBeJjBpAjCiGiCmMiDiJiDhIiDiLiCmMiDiMiDfCiBfLiDgIiCpAiOoGjDlOiBeC_xHqqkZx_
//	const FCHILabelRec& rec = g_pHistDrawDoc->GetHistoryIndex().GetLabelRec(dwLabelId);
//	// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmMiNmAjFfHiCkKjCiGjAfDiCmJiCkNiCoJiCoGiCkEiCmJiDfIiDeOiDiNiBfLiDiLiBeC_xHqqkZx_
//	g_pView->SetScrollCenter(rec.mmpt);
//} // CFCHistDrawFrame::OnLabelViewPoint.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateLabelViewPoint
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiDhMiDeDiDjDiDgHiCnGiDhCiDiFiBfLiCpAiInKjDkOiBhGiCmMjHeMiMpIiBeFjGlDiMpIjDjJ_xHqqkZx_
// *			_xZkqqHx_iCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDhLiDfOiDjDiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateLabelViewPoint (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate() && m_tolBrLabel.GetCurLabelSel() != DWORD(-1) &&
//					g_pDoc->GetSessionDepth() == 0);
//} // CFCHistDrawFrame::OnUpdateLabelViewPoint.
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnLabelDelete
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAiNoNiPjMiClHiCoJiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnLabelDelete ()
//{
//	// _xZkqqHx_iMlLiNnNjBeJjBpAjCiGiCmMiDiJiDhIiDiL_xHqqkZx_ID_xZkqqHx_iCpAiOoGjDlOiBeC_xHqqkZx_
//	const DWORD dwLabelId = m_tolBrLabel.GetCurLabelSel();
//	// _xZkqqHx_iDiJiDhIiDiLiImKjChFiCpAiLeMjIfOiClHiCoJiInH_xHqqkZx_ _xZkqqHx_iLpDiDfKiDgCiDfGiDiHiDjDiCpAiPjBiCkLiNjOiCnNiBeBiDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCmMiPeJjHlJiBeC_xHqqkZx_
//	g_pHistDrawDoc->WriteEmptySession();
//	// _xZkqqHx_iDiJiDhIiDiLiCpAiJpAiPjMiBeC_xHqqkZx_
//	g_pHistDrawDoc->UnSetLabel(dwLabelId);
//	g_pHistDrawFrame->UpdateLabel();
//} // CFCHistDrawFrame::OnLabelDelete.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateLabelDelete
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAiNoNiPjMiClHiCoJiBhGiCmMjHeMiMpIiBeFjGlDiMpIjDjJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDhLiDfOiDjDiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateLabelDelete (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate() && m_tolBrLabel.GetCurLabelSel() != DWORD(-1) &&
//					g_pDoc->GetSessionDepth() == 0);
//} // CFCHistDrawFrame::OnUpdateLabelDelete.
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnLabelPut
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnLabelPut ()
//{
//	//----- _xZkqqHx_iDiJiDhIiDiLjDpMjHmNiDfPiDeDiDeBiDiNiDePiCpAjFfMiOkG_xHqqkZx_ -----
//	CFCDlgLabelIn dlg;
//	if (dlg.DoModal() == IDOK)
//	{
//		// _xZkqqHx_iDiJiDhIiDiLiImKjChFiCpAiLeMjIfOiClHiCoJiInH_xHqqkZx_ _xZkqqHx_iLpDiDfKiDgCiDfGiDiHiDjDiCpAiPjBiCkLiNjOiCnNiBeBiDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCmMiPeJjHlJiBeC_xHqqkZx_
//		g_pHistDrawDoc->WriteEmptySession();
//		// _xZkqqHx_iDhCiDiFiBfLiCmMiDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGiCpAiOoGjDlOiBeC_xHqqkZx_
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////		CRect lgrt;
////		g_pView->GetClientRectLG(lgrt);
////		// _xZkqqHx_iDhCiDiFiBfLjCiGjAfDiCmJiDiJiDhIiDiLiCpAjAnNjCoIiBeC_xHqqkZx_
////		g_pHistDrawDoc->SetLabel(lg2mm(lgrt.CenterPoint()), dlg.m_strLabel);
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//		DBLRect mmrt;
//		g_pView->GetClientRectMM(mmrt);
//		// _xZkqqHx_iDhCiDiFiBfLjCiGjAfDiCmJiDiJiDhIiDiLiCpAjAnNjCoIiBeC_xHqqkZx_
//		g_pHistDrawDoc->SetLabel(mmrt.CenterPoint(), dlg.m_strLabel);
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//		g_pHistDrawFrame->UpdateLabel();
//	}
//} // CFCHistDrawFrame::OnLabelPut.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateLabelPut
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJiBhGiCmMjHeMiMpIiBeFjGlDiMpIjDjJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDhLiDfOiDjDiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateLabelPut (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate() && g_pDoc->GetIsDocumentOpened() && g_pDoc->GetSessionDepth() == 0);
//} // CFCHistDrawFrame::OnUpdateLabelPut.
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnLabelMove
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAiInKjDkOiClHiCoJiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnLabelMove ()
//{
//	// _xZkqqHx_iMlLiNnNjBeJjBpAjCiGiCmMiDiJiDhIiDiL_xHqqkZx_ID_xZkqqHx_iCpAiOoGjDlOiBeC_xHqqkZx_
//	const DWORD dwLabelId = m_tolBrLabel.GetCurLabelSel();
//	// _xZkqqHx_iDiJiDhIiDiLiImKjChFiCpAiLeMjIfOiClHiCoJiInH_xHqqkZx_ _xZkqqHx_iLpDiDfKiDgCiDfGiDiHiDjDiCpAiPjBiCkLiNjOiCnNiBeBiDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCmMiPeJjHlJiBeC_xHqqkZx_
//	g_pHistDrawDoc->WriteEmptySession();
//	// _xZkqqHx_iDhCiDiFiBfLiCmMiDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGiCpAiOoGjDlOiBeC_xHqqkZx_
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////	CRect lgrt;
////	g_pView->GetClientRectLG(lgrt);
////	// _xZkqqHx_iDhCiDiFiBfLjCiGjAfDiCmJiDiJiDhIiDiLiCpAiInKjDkOiBeC_xHqqkZx_
////	g_pHistDrawDoc->MoveLabel(dwLabelId, lg2mm(lgrt.CenterPoint()));
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//	DBLRect mmrt;
//	g_pView->GetClientRectMM(mmrt);
//	// _xZkqqHx_iDhCiDiFiBfLjCiGjAfDiCmJiDiJiDhIiDiLiCpAiInKjDkOiBeC_xHqqkZx_
//	g_pHistDrawDoc->MoveLabel(dwLabelId, mmrt.CenterPoint());
////----- 01.02.21 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
////	g_pHistDrawFrame->UpdateLabel();
//} // CFCHistDrawFrame::OnLabelMove.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateLabelMove
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiDhLiDfOiDjDiBhFiDiJiDhIiDiLiCpAiInKjDkOiClHiCoJiBhGiCmMjHeMiMpIiBeFjGlDiMpIjDjJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDhLiDfOiDjDiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateLabelMove (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate() && m_tolBrLabel.GetCurLabelSel() != DWORD(-1) &&
//					g_pDoc->GetSessionDepth() == 0);
//} // CFCHistDrawFrame::OnUpdateLabelMove.
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.03.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUserAppInitInstance
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CFCMolipDrawApp::InitInstance_xZkqqHx_iCkJiCoH_xHqqkZx_PostMessage_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmJiCoGiCmBiCmE_xHqqkZx_
// *			_xZkqqHx_iOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	History Viewer _xZkqqHx_iCkJiCoH_xHqqkZx_Historic Draw _xZkqqHx_iCkKiLeOjDkOiClDiCoKiClNiPoKiNiHiBeB_xHqqkZx_
// *			CFCMolipDrawApp::InitInstance _xZkqqHx_iCpAiPeJjHlJiClDiClJiCmEiCoCiCoHiCmIiCkCiCmGiBeB_xHqqkZx_
// *			History Viewer _xZkqqHx_iCmM_xHqqkZx_ ActivateDocument _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCmIiCkCiJmCjEfMjAkLiCkKiCkAiCoJiBeC_xHqqkZx_
// *			CFCMolipDrawApp::InitInstance _xZkqqHx_iCkJiCoH_xHqqkZx_ LockDocument _xZkqqHx_iCpAiOmAiNhDiClHiCoJiCmG_xHqqkZx_
// *			History Viewer _xZkqqHx_iCmF_xHqqkZx_ UnlockDocument _xZkqqHx_iClDiCoKiCmEiCkCiCmIiCkCiDgIiDeMiDiFiDiBiDjDiDgHiCpA_xHqqkZx_
// *			LockDocument _xZkqqHx_iClFiCoGiCkEiCmGiClHiCoJiClBiCmGiCmJiCmIiCmBiCmEiClFiCnMiCkCiBeBiDgGiDgCiDgIiDiNiDgCiDeOiCkK_xHqqkZx_
// *			_xZkqqHx_jEkNjAlGiClHiCoJiBeCiClBiCmMiMlLiPnLiCmNiBeBiJlNjDhIiCkJiCmJiIoKjDhIjEkNjAlGiClFiClNiBeC_xHqqkZx_
// *			CFCMolipDrawApp::InitInstance _xZkqqHx_iCkJiCoH_xHqqkZx_PostMessage_xZkqqHx_iCmFiClBiCmMiKnGjAjEiCpAiOmAiNhD_xHqqkZx_
// *			_xZkqqHx_iClHiCoJiClBiCmGiCmJiCoGiCmBiCmEiBeB_xHqqkZx_CFCMolipDrawApp::InitInstance _xZkqqHx_iCpAiPeJjHlJiClDiClJiBeB_xHqqkZx_
// *			_xZkqqHx_iClBiCmMiKnGjAjEjCiGiCkJiCoH_xHqqkZx_ LockDocument _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiCoGiCkEiCmJiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.02.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistDrawFrame::OnUserAppInitInstance (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iPeDjFjMjFlGiPjBiCmMiDgAiDeGiDgCiDeOiCmGiPeDjFjMiPiIjHjNiBeC_xHqqkZx_
//	CFCDlgRepairDoc::CheckRepairHistoricDoc();
//	if (FFGetApp()->GetCmdInfo()->m_bProjectNew)
//	//----- _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHjAfGiLeLiNoMjAkMiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHjAfGiLeLiNoMjAkMiPiIjHjNiBeC_xHqqkZx_
//		::SendMessage(AfxGetMainWnd()->GetSafeHwnd(),
//							WM_COMMAND, ID_FILE_PROJECT_NEW, 0);
//		// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAiNoMjAkMiBgJiBiBiDeJiBfLiDhGiDjDiBgKiCmFiCkLiCmIiCkJiCmBiClNiPoKiNiHiBeC_xHqqkZx_
//		if (!g_pHistDrawDoc->IsProjectOpened())
//			::PostQuitMessage(0);
//	} else
//	if (!FFGetApp()->GetCmdInfo()->m_strProjectPath.IsEmpty())
//	//----- _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiDhEiDeAiDeDiDiLiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAiDeJiBfLiDhGiDjDiClHiCoJiBeC_xHqqkZx_
//		if (!g_pHistDrawDoc->OpenProject(FFGetApp()->GetCmdInfo()->m_strProjectPath))
//			::PostQuitMessage(0);
//		if (FFGetApp()->GetCmdInfo()->m_bHidocumentNew)
//		//----- _xZkqqHx_jHjKjHpAjFlGiPjBjAfGiLeLiNoMjAkMiCmMiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_jHjKjHpAjFlGiPjBjAfGiLeLiNoMjAkMiPiIjHjNiBeC_xHqqkZx_
//			::SendMessage(AfxGetMainWnd()->GetSafeHwnd(),
//								WM_COMMAND, ID_FILE_NEW_HIDOCUMENT, 0);
//			// _xZkqqHx_jFlGiPjBiCpAiNoMjAkMiBgJiBiBiDeJiBfLiDhGiDjDiBgKiCmFiCkLiCmIiCkJiCmBiClNiPoKiNiHiBeC_xHqqkZx_
//			if (!g_pDoc->GetIsDocumentOpened())
//				::PostQuitMessage(0);
//		} else
//		if (FFGetApp()->GetCmdInfo()->m_lHidocumentId != -1L)
//		//----- _xZkqqHx_jHjKjHpAjFlGiPjBiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_jHjKjHpAjFlGiPjBiCpAiDeJiBfLiDhGiDjDiClHiCoJiBeC_xHqqkZx_
//			if (!g_pHistDrawDoc->OpenHidocument(FFGetApp()->GetCmdInfo()->m_lHidocumentId))
//				::PostQuitMessage(0);
//		}
//	}
//	// _xZkqqHx_iDgIiDiJiDgCiDeP_xHqqkZx_/_xZkqqHx_iDgIiDiNiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeJiBfLiDhGiDjDiCpAiLjGiJmCiClFiCnMiClH_xHqqkZx_
//	DragAcceptFiles();
//	return 1;
//} // CFCHistDrawFrame::OnUserAppInitInstance.
//----- 02.03.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.04.05 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUserUndoTmpCommand
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
// *
// * <_xZkqqHx_iPnKiNnH_xHqqkZx_>	
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.03.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistDrawFrame::OnUserUndoTmpCommand (WPARAM wParam, LPARAM lParam)
//{
//	g_pHistDrawDoc->UndoTmpCommand();
//	return 1;
//} // CFCHistDrawFrame::OnUserUndoTmpCommand.
//----- 02.04.05 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.04.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUserUnflushWarning
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
// *
// * <_xZkqqHx_iPnKiNnH_xHqqkZx_>	
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.04.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistDrawFrame::OnUserUnflushWarning (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iDiNiDgCiDeOiClFiCmEiCkCiCoJiDiGiBfLiDfFjGlMiBeC_xHqqkZx_
//	wchar_t* wcpWhoLock = (wchar_t*)wParam;
//	// _xZkqqHx_iDhEiDeAiDeDiDiLiCmMiDhEiDiJiDgCiDfGiDiFiCkKiPgPjHiIiCmEiCkCiCmIiCkCiMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGjCiGiCkJiBeI_xHqqkZx_
//	if (!m_bIsUnflushWarning)
//	{
//		// _xZkqqHx_iMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGjCiGiDhEiDiJiDePiCpAjAnNjCoIiBeC_xHqqkZx_
//		m_bIsUnflushWarning = TRUE;
//		// _xZkqqHx_iDhEiDeAiDeDiDiLiBhF_xHqqkZx_%s_xZkqqHx_iBhGiCmNiDiGiBfLiDfFiBhF_xHqqkZx_%s_xZkqqHx_iBhGiCmJiCoGiCmBiCmEiDiNiDgCiDeOiClDiCoKiCmEiCkCiCnMiClHiBeCiPiIjHjNiCpAiMhAjBlBiClFiCnMiClHiCkJiBeI_xHqqkZx_
//		if (FFMessageBox(FormatResString(IDS_ERR_MSG_DOC_LOCKED_IS_CONTINUE,
//										g_pProject->GetDocumentRec(m_lDocId)->m_wcpDocTitle,
//										g_pProject->GetDocumentRec(m_lDocId)->m_wcpVersion,
//										wcpWhoLock),
//						0, MB_YESNO) == IDNO)
//		//----- _xZkqqHx_iPeJjHlJiClHiCoJ_xHqqkZx_ _xZkqqHx_iPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGjCiGiDhEiDiJiDePiCmNiJpAiPjMiClFiCmIiCkCiBeCiClBiCmMiKnGjAjEiCkKiMmEiCnBiPgPiClDiCoKiCmEiCoA_xHqqkZx_
//			// _xZkqqHx_iMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGiClDiCoKiCoJiClBiCmGiCkKiCmIiCkCiCoGiCkEiCmJiBeC_xHqqkZx_
//			// _xZkqqHx_iClBiCmMiCnMiCnMiPeJjHlJiClHiCoJiBeC_xHqqkZx_
//			g_pDoc->SetModifiedFlag(FALSE);
//			PostMessage(WM_COMMAND, ID_APP_EXIT, 0);
//		} else
//		//----- _xZkqqHx_iPeJjHlJiClFiCmIiCkC_xHqqkZx_ _xZkqqHx_iPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iMhIiNjAiDhAiDgMiDiLiCkKjFfMiOkGjCiGiDhEiDiJiDePiCpAiJpAiPjMiBeC_xHqqkZx_
//			m_bIsUnflushWarning = FALSE;
//		}
//	}
//	// _xZkqqHx_iDiGiBfLiDfFjGlMiCmMiDgGiBfLiDfOiCpAiNoNiPjMiBeC_xHqqkZx_
//	delete[] wcpWhoLock;
//	return 1;
//} // CFCHistDrawFrame::OnUserUnflushWarning.
//----- 03.04.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.04.19 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnTimer
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfOiDeDiDhNiBfLiOmAiNhDiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	History Viewer _xZkqqHx_iCkJiCoH_xHqqkZx_Historic Draw _xZkqqHx_iCkKiLeOjDkOiClDiCoKiClNiPoKiNiHiBeB_xHqqkZx_
// *			Historic Draw _xZkqqHx_iCpAjAlDiPoNiCmJiLeOjDkOiClFiCmEiCoCiCoHiCmIiCkCiCmG_xHqqkZx_
// *			History Viewer _xZkqqHx_iCmM_xHqqkZx_ ActivateDocument _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
// *			CFCMolipDrawApp::InitInstance _xZkqqHx_iCkJiCoH_xHqqkZx_ LockDocument _xZkqqHx_iCpAiOmAiNhDiClHiCoJiCmG_xHqqkZx_
// *			History Viewer _xZkqqHx_iCmF_xHqqkZx_ UnlockDocument _xZkqqHx_iClDiCoKiCmEiCkCiCmIiCkCiDgIiDeMiDiFiDiBiDjDiDgHiCpA_xHqqkZx_
// *			LockDocument _xZkqqHx_iClFiCoGiCkEiCmGiClHiCoJiClBiCmGiCmJiCmIiCmBiCmEiClFiCnMiCkCiBeBiDgGiDgCiDgIiDiNiDgCiDeOiCkK_xHqqkZx_
// *			_xZkqqHx_jEkNjAlGiClHiCoJiBeC_xHqqkZx_
// *			CFCMolipDrawApp::InitInstance _xZkqqHx_iCkJiCoH_xHqqkZx_SetTimer_xZkqqHx_iCmFiClBiCmMiKnGjAjEiCpAiOmAiNhD_xHqqkZx_
// *			_xZkqqHx_iClHiCoJiClBiCmGiCmJiCoGiCmBiCmEiBeB_xHqqkZx_LockDocument _xZkqqHx_iCmMiJmCjEnLiCmJiKnGiCoNiCoHiClI_xHqqkZx_
// *			Historic Draw _xZkqqHx_iCpAjAlDiPoNiCmJiLeOjDkOiClDiClJiCoJiBeC_xHqqkZx_
// *			LockDocument _xZkqqHx_iCmNiBeB_xHqqkZx_History Viewer _xZkqqHx_jBkEiCkK_xHqqkZx_ ActivateDocument _xZkqqHx_iCkJiCoH_xHqqkZx_
// *			UnlockDocument _xZkqqHx_iCpAiOmAiNhDiClHiCoJiCnMiCmFiDfOiDeDiDhNiBfLiCmFjBnCiClNiClJiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.03.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnTimer (UINT nIDEvent)
//{
//	if (nIDEvent == FDTIMER_FRAME_APP_INIT)
//	{
//		KillTimer(nIDEvent);
//		// _xZkqqHx_iPeDjFjMjFlGiPjBiCmMiDgAiDeGiDgCiDeOiCmGiPeDjFjMiPiIjHjNiBeC_xHqqkZx_
//		CFCDlgRepairDoc::CheckRepairHistoricDoc();
//		if (FFGetApp()->GetCmdInfo()->m_bProjectNew)
//		//----- _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHjAfGiLeLiNoMjAkMiCmMiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHjAfGiLeLiNoMjAkMiPiIjHjNiBeC_xHqqkZx_
//			::SendMessage(AfxGetMainWnd()->GetSafeHwnd(),
//								WM_COMMAND, ID_FILE_PROJECT_NEW, 0);
//			// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAiNoMjAkMiBgJiBiBiDeJiBfLiDhGiDjDiBgKiCmFiCkLiCmIiCkJiCmBiClNiPoKiNiHiBeC_xHqqkZx_
//			if (!g_pHistDrawDoc->IsProjectOpened())
//				::PostQuitMessage(0);
//		} else
//		if (!FFGetApp()->GetCmdInfo()->m_strProjectPath.IsEmpty())
//		//----- _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiDhEiDeAiDeDiDiLiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgH_xHqqkZx_:_xZkqqHx_jFlGiPjBiCpAiDiNiDgCiDeOiClHiCoJiBeC_xHqqkZx_
//			FCHiProject project;
//			project.SetFilePath(FFGetApp()->GetCmdInfo()->m_strProjectPath);
//// 02.03.09 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
////			if (!project.LockDocument(FFGetApp()->GetCmdInfo()->m_lHidocumentId, 0))
////----- 02.03.19 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////			if (!project.LockProject())
////			//---- _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgH_xHqqkZx_:_xZkqqHx_jFlGiPjBiCmMiDiNiDgCiDeOiCmJiOlIjEhDiClFiClNiPoKiNiH_xHqqkZx_ -----
////			{
////				SetTimer(FDTIMER_FRAME_APP_INIT, 100, NULL);
////				return;
////			}
////----- 02.03.19 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//			// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAiDeJiBfLiDhGiDjDiClHiCoJiBeC_xHqqkZx_
//			if (!g_pHistDrawDoc->OpenProject(FFGetApp()->GetCmdInfo()->m_strProjectPath))
//				::PostQuitMessage(0);
//			if (FFGetApp()->GetCmdInfo()->m_bHidocumentNew)
//			//----- _xZkqqHx_jHjKjHpAjFlGiPjBjAfGiLeLiNoMjAkMiCmMiPoKiNiH_xHqqkZx_ -----
//			{
//				// _xZkqqHx_jHjKjHpAjFlGiPjBjAfGiLeLiNoMjAkMiPiIjHjNiBeC_xHqqkZx_
//				::SendMessage(AfxGetMainWnd()->GetSafeHwnd(),
//									WM_COMMAND, ID_FILE_NEW_HIDOCUMENT, 0);
//				// _xZkqqHx_jFlGiPjBiCpAiNoMjAkMiBgJiBiBiDeJiBfLiDhGiDjDiBgKiCmFiCkLiCmIiCkJiCmBiClNiPoKiNiHiBeC_xHqqkZx_
//				if (!g_pDoc->GetIsDocumentOpened())
//					::PostQuitMessage(0);
//			} else
//			if (FFGetApp()->GetCmdInfo()->m_lHidocumentId != -1L)
//			//----- _xZkqqHx_jHjKjHpAjFlGiPjBiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//			{
//				// _xZkqqHx_jHjKjHpAjFlGiPjBiCpAiDeJiBfLiDhGiDjDiClHiCoJiBeC_xHqqkZx_
//				if (!g_pHistDrawDoc->OpenHidocument(FFGetApp()->GetCmdInfo()->m_lHidocumentId))
//					::PostQuitMessage(0);
//			}
//		}
//		// _xZkqqHx_iDgIiDiJiDgCiDeP_xHqqkZx_/_xZkqqHx_iDgIiDiNiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeJiBfLiDhGiDjDiCpAiLjGiJmCiClFiCnMiClH_xHqqkZx_
//		DragAcceptFiles();
//	}
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnTimer(nIDEvent);
//} // CFCHistDrawFrame::OnTimer.
//----- 02.04.19 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnViewHtreeVisible
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnViewHtreeVisible ()
//{
//	SetHtreeViewVisible(!m_pCtlBrHTree->IsWindowVisible());
//} // CFCHistDrawFrame::OnViewHtreeVisible.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateViewHtreeVisible
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateViewHtreeVisible (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate());
//	pCmdUI->SetCheck(m_pCtlBrHTree->IsWindowVisible());
//} // CFCHistDrawFrame::OnUpdateViewHtreeVisible.
//----- 04.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnCmdMsg
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_ _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAjDlBiCkLiDgGiDeCiDfIiDhAiDgCiDgAiClFiCnMiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_iDhHiDiLiDhGiOfBiPmGiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCkKiPiIjHjNiClDiCoKiClNiCmGiCkLiCmN_xHqqkZx_ 0 _xZkqqHx_iImIiKePiBeCiClLiCoKiImIiKePiCmN_xHqqkZx_ 0_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCmMiKnGjAjEiCpAiDeJiBfLiDgPiBfLiDiJiDeDiDgIiClFiCmIiCkCiCmGiBeBiDfCiDhNiDjDiDgI_xHqqkZx_(ID_XXXX)_xZkqqHx_iCkK_xHqqkZx_
// *			_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmJjDmNiCkPiCoHiCoKiCmIiCkCiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCHistDrawFrame::OnCmdMsg (UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo)
//{
//	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeC_xHqqkZx_
//	if (BASE_CLASS::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo))
//		return TRUE;
//	// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmJiDfCiDhNiDjDiDgIiCmMjCmKjCgNiBeC_xHqqkZx_
//	if (m_pCtlBrHTree != NULL &&
//		m_pCtlBrHTree->OnCmdMsg(nID, nCode, pExtra, pHandlerInfo))
//		return TRUE;
//	return FALSE;
//} // CFCHistDrawFrame::OnCmdMsg.
//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.10.11 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnShowWindow
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMjFfMiOkGiPpDjBnEiCkKjFmPiNfIiClDiCoKiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bShow	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAjFfMiOkGiClHiCoJiCkJiCmHiCkEiCkJiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
// *					 _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAjFfMiOkGiClHiCoJiPoKiNiHiCmN_xHqqkZx_ TRUE _xZkqqHx_iCpAiBeBjEpBjFfMiOkGiCmJiClHiCoJ_xHqqkZx_
// *					 _xZkqqHx_iPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
// *			nStatus	:_xZkqqHx_jFfMiOkGiClHiCoJiDeFiDeCiDjDiDgIiDeFiCmMiPpDjBnEiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
// *					 ShowWindow _xZkqqHx_iDiBiDjDiDgPiKnGjAjEiCkKiMmEiCnBiPgPiClDiCoKiBeBiDiBiDgCiDfKiBfLiDfHiCkK_xHqqkZx_
// *					 _xZkqqHx_jBjHiCoHiCoKiCoJiPoKiNiHiCmN_xHqqkZx_ 0 _xZkqqHx_iCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_
// *					 _xZkqqHx_iClLiCoKiImIiKePiCmMiPoKiNiHiCmNiBeB_xHqqkZx_nStatus _xZkqqHx_iCmNiOjPiCmMjCgMiCmMiCkCiClIiCoKiCkJiCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_ 
// *				SW_PARENTCLOSING	:_xZkqqHx_jAgFiDeFiDeCiDjDiDgIiDeFiCkKiDeOiDiNiBfLiDfJ_xHqqkZx_ (_xZkqqHx_iDeBiDeDiDfCiDjDiJlL_xHqqkZx_) 
// *									 _xZkqqHx_iClDiCoKiCoJiCkJiBeBiDhMiDgCiDhGiDeBiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkK_xHqqkZx_
// *									 _xZkqqHx_jEpBjFfMiOkGiCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_
// *				SW_PARENTOPENING	:_xZkqqHx_jAgFiDeFiDeCiDjDiDgIiDeFiCkKiDeJiBfLiDhGiDjD_xHqqkZx_ (_xZkqqHx_jFfMiOkG_xHqqkZx_) _xZkqqHx_iClDiCoKiCoJiCkJiBeB_xHqqkZx_
// *									 _xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCnMiClHiBeC_xHqqkZx_ 
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnShowWindow (BOOL bShow, UINT nStatus)
//{
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnShowWindow(bShow, nStatus);
//
//	if (bShow && g_pReg->GetUserId() == GUID_NULL)
//	//----- _xZkqqHx_iDeDiDjDiDfIiDgHiBfLiDiLiMoDiCmMiNmFiPiJiCmMiLeOjDkOiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDfCiDhNiDjDiDgIiBhFiLeOjDkOiOjOiDiGiBfLiDfFjDgPjIfOiPoOjFpBiBhGiCpAiOmAiNhDiBeC_xHqqkZx_
//		// _xZkqqHx_iClBiClBiCpA_xHqqkZx_PostMessage_xZkqqHx_iCmJiClHiCoJiCmGiBeBjHjKjHpAjFlGiPjBiCkKjAfGiLeLiNoMjAkMiClDiCoKiClNiMoDiCmJ_xHqqkZx_
//		// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_jDgPjIfOiCmGiCmIiCmBiCmEiClFiCnMiCkCiBeBiDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCkKjDgPjIfOiClDiCoKiCmIiCkCiPpDjBnEiCmF_xHqqkZx_
//		// _xZkqqHx_iNmFiPiJiCmMjFlGiPjBiCkKiNoMjAkMiClDiCoKiCmEiClFiCnMiCkEiBeC_xHqqkZx_
//		SendMessage(WM_COMMAND, ID_OPTION_INIT_USER_REGISTRATION, 0);
//	}
//} // CFCHistDrawFrame::OnShowWindow.
//----- 04.10.11 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.10.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnOptionUserRegistration
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiGiBfLiDfFjDgPjIfOiPoOjFpBiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnOptionUserRegistration ()
//{
//	for (;;)
//	{
//		// _xZkqqHx_iDiGiBfLiDfFjDgPjIfOiDfPiDeDiDeBiDiNiDePiBeC_xHqqkZx_
//		CFCDlgInitUserRegistration dlg;
//		dlg.DoModal();
//		if (g_pReg->GetUserId() != GUID_NULL) break;
//		// "_xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCkKjDgPjIfOiClDiCoKiCmEiCkCiCnMiClJiCpBiBeC_xHqqkZx_"
//		FFErrorBox(IDS_ERR_MSG_USER_ID_NOT_REGISTERED );
//	}
//	// [_xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiOfBiJmBiCmMjFeLjHhGjAkLiCpAiDgAiDeGiDgCiDeOiClFiBeBjFeLjHhGiCmIiCoHiOfBiJmBiOoIjBlBiCkLiCpAjAgJiCnPiCoJ_xHqqkZx_]
//	g_pDoc->PushBackDocRequest(ID_DREQ_CHECK_JOIN_PROJECT_USER);
//	// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
//	g_pDoc->PushBackDocRequest(ID_DREQ_END);
//	// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
//	g_pDoc->ProceedDocRequest();
//} // CFCHistDrawFrame::OnOptionUserRegistration.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnUpdateOptionUserRegistration
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiGiBfLiDfFjDgPjIfOiPoOjFpBiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnUpdateOptionUserRegistration (CCmdUI* pCmdUI)
//{
//	// TODO: _xZkqqHx_iClBiCmMiImKjChFiCmJ_xHqqkZx_ command update UI _xZkqqHx_iDgOiDjDiDgIiDiJjHhAiCmMiDfCiBfLiDgIiCpAjCmHiJmBiClFiCmEiCkNiClOiClDiCkC_xHqqkZx_
//	
//} // CFCHistDrawFrame::OnUpdateOptionUserRegistration.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnOptionInitUserRegistration
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiLeOjDkOiOjOiDiGiBfLiDfFjDgPjIfOiPoOjFpBiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCmMiDfCiDhNiDjDiDgIiCmNiBeBiDiBiDgKiDiFiBfLiCmJiCmNjDgPjIfOiClDiCoKiCmEiCkCiCmIiCkCiBeC_xHqqkZx_OnShowWindow
// *			_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistDrawFrame::OnOptionInitUserRegistration ()
//{
//	// _xZkqqHx_iDiGiBfLiDfFjDgPjIfOiDfPiDeDiDeBiDiNiDePiBeC_xHqqkZx_
//	CFCDlgInitUserRegistration dlg;
//	dlg.DoModal();
//	if (g_pReg->GetUserId() == GUID_NULL)
//	{
//		// "_xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCkKjDgPjIfOiClDiCoKiCmEiCkCiCnMiClJiCpBiBeC_xHqqkZx_"
//		FFErrorBox(IDS_ERR_MSG_USER_ID_NOT_REGISTERED );
//		// _xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCpAjChIiJiEiLkNjAkHiPeJjHlJiClHiCoJiBeC_xHqqkZx_
//		g_pDoc->ExitApplication();
//	}
//} // CFCHistDrawFrame::OnOptionInitUserRegistration.
//----- 04.10.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistDrawFrame::OnTimer
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfOiDeDiDhNiBfLiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistDrawFrame::OnTimer (UINT nIDEvent)
{
	if (nIDEvent == FDTIMER_FRAME_FOR_WATCH)
	//----- _xZkqqHx_iOjOiMhGjHhAiOjOiKnEjCmKjCgN_xHqqkZx_ -----
	{
		// _xZkqqHx_iMlLiNnNiCmMiOjOiKnEiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmJjAnNjCoIiBeC_xHqqkZx_
		SetStatusBarDate(FFGetCurrentSecTime());
	}
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnTimer(nIDEvent);
} // CFCHistDrawFrame::OnTimer.
