// HistViewFrame.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"			// For FFGetApp()
// 06.04.06 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "PursuerText.h"			// For CFCPursuerText.
#include "DynamicDrawView.h"		// For g_pView.
#include "DlgHistFindResults.h"		// For CFCDlgHistFindResults.
#include "WndHistFindPanel.h"		// For CFCWndHistFindPanel.
#include "DlgDsmBookmark.h"			// For CFCDlgDsmBookmark.
#include "PreColor.h"				// For CFCPreColor.
#include "PreFont.h"				// For CFCPreFont.
#include "PreUnit.h"				// For CFCPreUnit.
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
#include "PreToolbar.h"				// For CFCPreToolbar.
#include "PreInterface.h"			// For CFCPreInterface.
#include "PrePopHint.h"			// For CFCPrePopHint.
#include "PreText.h"				// For CFCPreText.
#include "PreDraw.h"				// For CFCPreDraw.
#include "PrePlugIn.h"				// For CFCPrePlugIn.
#include "PropertySheet.h"			// For CFCPropertySheet.
#include "ObjDynabase.h"			// For FCObjDynabase.
#include "DlgHistoryMoveOpeList.h"	// For CFCDlgHistoryMoveOpeList.
#include "DlgSelectHistoryMoveOperation.h"	// For CFCDlgSelectHistoryMoveOperation.
#include "HistViewFrame.h"			// This header.

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

//----- 04.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//#ifdef BASE_CLASS
//#undef BASE_CLASS
//#endif//BASE_CLASS
//#define BASE_CLASS CFCMainFrame
//----- 04.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 04.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//static UINT s_indicators[] =
//{
//	ID_INDICATOR_PROP,	// _xZkqqHx_iDhGiDiNiDhAiDgFiDeCiBeCiNmAjFfHiPoOjFpBiBeC_xHqqkZx_
//	ID_INDICATOR_USER,	// _xZkqqHx_iDiGiBfLiDfFiBfLjGlMiBeC_xHqqkZx_
//	ID_INDICATOR_DATE,	// _xZkqqHx_jDpKiOjOiBeC_xHqqkZx_
//	ID_INDICATOR_KANA,	// _xZkqqHx_iDeKiDgJiBeC_xHqqkZx_
//	ID_INDICATOR_CAPS,	// CAPS LOCK_xZkqqHx_iBeC_xHqqkZx_
//	ID_INDICATOR_OVR,	// _xZkqqHx_iPoDiPjBiCkLiBeC_xHqqkZx_
//}; // s_indicators.
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/////////////////////////////////////////////////////////////////////////////
// CFCHistViewFrame

IMPLEMENT_DYNCREATE(CFCHistViewFrame, CFCMainFrame)

CFCHistViewFrame::CFCHistViewFrame ()
{
	// _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiBeC_xHqqkZx_
	m_wndHistFindResults = NULL;
	// _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiBeC_xHqqkZx_
	m_wndHistFindPanel = NULL;
	// DSM_xZkqqHx_iDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiBeC_xHqqkZx_
	m_wndDsmBookmark = NULL;
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiPoOjFpB_xHqqkZx_ -----
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLiCgIiCgDiBeC_xHqqkZx_
//	m_guidSessionUserId = GUID_NULL;
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiBeC_xHqqkZx_
//	m_fdstSessionTime = FDSECTIME(-1);
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::CFCHistViewFrame.

CFCHistViewFrame::~CFCHistViewFrame ()
{
} // CFCHistViewFrame::~CFCHistViewFrame.

BEGIN_MESSAGE_MAP(CFCHistViewFrame, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCHistViewFrame)
	ON_COMMAND(ID_OPTION_ENV, OnOptionEnv)
	ON_UPDATE_COMMAND_UI(ID_OPTION_ENV, OnUpdateOptionEnv)
	ON_COMMAND(ID_OPTION_HISTORY_MOVE_OPE_LIST, OnOptionHistoryMoveOpeList)
	ON_UPDATE_COMMAND_UI(ID_OPTION_HISTORY_MOVE_OPE_LIST, OnUpdateOptionHistoryMoveOpeList)
	ON_COMMAND(ID_HTREE_SELECT_MOVE_OPERATION, OnHtreeSelectMoveOperation)
	ON_UPDATE_COMMAND_UI(ID_HTREE_SELECT_MOVE_OPERATION, OnUpdateHtreeSelectMoveOperation)
	ON_COMMAND(ID_HTREE_FIND_PANEL, OnHtreeFindPanel)
	ON_UPDATE_COMMAND_UI(ID_HTREE_FIND_PANEL, OnUpdateHtreeFindPanel)
	ON_COMMAND(ID_HTREE_FIND_RESULTS, OnHtreeFindResults)
	ON_UPDATE_COMMAND_UI(ID_HTREE_FIND_RESULTS, OnUpdateHtreeFindResults)
	ON_COMMAND(ID_HTREE_JUMP_NEXT_FIND_RESULT, OnHtreeJumpNextFindResult)
	ON_UPDATE_COMMAND_UI(ID_HTREE_JUMP_NEXT_FIND_RESULT, OnUpdateHtreeJumpNextFindResult)
	ON_COMMAND(ID_HTREE_JUMP_PREV_FIND_RESULT, OnHtreeJumpPrevFindResult)
	ON_UPDATE_COMMAND_UI(ID_HTREE_JUMP_PREV_FIND_RESULT, OnUpdateHtreeJumpPrevFindResult)
	ON_COMMAND(ID_HTREE_JUMP_CURRENT_FIND_RESULT, OnHtreeJumpCurrentFindResult)
	ON_UPDATE_COMMAND_UI(ID_HTREE_JUMP_CURRENT_FIND_RESULT, OnUpdateHtreeJumpCurrentFindResult)
	ON_COMMAND(ID_VIEW_APPEND_DSM, OnViewAppendDsm)
	ON_UPDATE_COMMAND_UI(ID_VIEW_APPEND_DSM, OnUpdateViewAppendDsm)
	ON_COMMAND(ID_VIEW_DSM_PANEL, OnViewDsmPanel)
	ON_UPDATE_COMMAND_UI(ID_VIEW_DSM_PANEL, OnUpdateViewDsmPanel)
	ON_COMMAND(ID_VIEW_PREV_DSM, OnViewPrevDsm)
	ON_UPDATE_COMMAND_UI(ID_VIEW_PREV_DSM, OnUpdateViewPrevDsm)
	ON_COMMAND(ID_VIEW_NEXT_DSM, OnViewNextDsm)
	ON_UPDATE_COMMAND_UI(ID_VIEW_NEXT_DSM, OnUpdateViewNextDsm)
	ON_COMMAND(ID_VIEW_CURRENT_DSM, OnViewCurrentDsm)
	ON_UPDATE_COMMAND_UI(ID_VIEW_CURRENT_DSM, OnUpdateViewCurrentDsm)
	ON_COMMAND(ID_VIEW_DELETE_DSM, OnViewDeleteDsm)
	ON_UPDATE_COMMAND_UI(ID_VIEW_DELETE_DSM, OnUpdateViewDeleteDsm)
	ON_COMMAND(ID_RBTN_HTREE_CHANGE_BRANCH_INTO_TRUNK, OnRbtnHtreeChangeBranchIntoTrunk)
	ON_UPDATE_COMMAND_UI(ID_RBTN_HTREE_CHANGE_BRANCH_INTO_TRUNK, OnUpdateRbtnHtreeChangeBranchIntoTrunk)
	ON_COMMAND(ID_RBTN_HTREE_CHANGE_TRUNK_INTO_BRANCH, OnRbtnHtreeChangeTrunkIntoBranch)
	ON_UPDATE_COMMAND_UI(ID_RBTN_HTREE_CHANGE_TRUNK_INTO_BRANCH, OnUpdateRbtnHtreeChangeTrunkIntoBranch)
	ON_COMMAND(ID_RBTN_HTREE_CHANGE_BRANCH_INTO_TOP, OnRbtnHtreeChangeBranchIntoTop)
	ON_UPDATE_COMMAND_UI(ID_RBTN_HTREE_CHANGE_BRANCH_INTO_TOP, OnUpdateRbtnHtreeChangeBranchIntoTop)
	//}}AFX_MSG_MAP
	ON_MESSAGE(WM_USER_SET_HI_MOVE_OPERATION, OnUserSetHiMoveOperation)
	ON_MESSAGE(WM_USER_DSM_UPDATED, OnUserDsmUpdated)
	ON_MESSAGE(WM_USER_PURSUER_TEXT_NEED_INFO, OnUserPursuerTextNeedInfo)

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_UPDATE_COMMAND_UI(ID_INDICATOR_USER, BASE_CLASS::OnUpdateIndicator)
//	ON_UPDATE_COMMAND_UI(ID_INDICATOR_DATE, BASE_CLASS::OnUpdateIndicator)
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

// 05.11.13 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_WM_DESTROY()
//----- 05.10.07 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_COMMAND(ID_HTREE_MOVE_OPERATION_EACH, OnHtreeMoveOperationEach)
//	ON_UPDATE_COMMAND_UI(ID_HTREE_MOVE_OPERATION_EACH, OnUpdateHtreeMoveOperationEach)
//	ON_COMMAND(ID_HTREE_MOVE_LTT_EACH, OnHtreeMoveLttEach)
//	ON_UPDATE_COMMAND_UI(ID_HTREE_MOVE_LTT_EACH, OnUpdateHtreeMoveLttEach)
//	ON_COMMAND(ID_HTREE_MOVE_TIME_EACH, OnHtreeMoveTimeEach)
//	ON_UPDATE_COMMAND_UI(ID_HTREE_MOVE_TIME_EACH, OnUpdateHtreeMoveTimeEach)
//----- 05.10.07 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//	ON_MESSAGE(WM_USER_OPEN_PROJECT_HI_DOC_POS, OnUserOpenProjectHiDocPos)
//	ON_MESSAGE(WM_USER_OPEN_HIDOCUMENT_POS, OnUserOpenHidocumentPos)
// 04.06.28 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_MESSAGE(WM_USER_SYNC_HIVIEW_TO_DOCUMENT, OnUserSyncHiviewToDocument)
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_MESSAGE(WM_USER_SHEET_CHANGED, OnUserSheetChanged)
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_MESSAGE(WM_USER_CURRENT_SHEET_CHANGED, OnUserCurrentSheetChanged)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HIST_VIEW, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HIST_VIEW, BASE_CLASS::OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HIST_VIEW_TOOLS, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HIST_VIEW_TOOLS, BASE_CLASS::OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_OBJ_LABEL, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_OBJ_LABEL, BASE_CLASS::OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_LAYER, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_LAYER, BASE_CLASS::OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_SHEET, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_SHEET, BASE_CLASS::OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HTREE_SEARCH, BASE_CLASS::OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HTREE_SEARCH, BASE_CLASS::OnViewToolbars)
//----- 04.07.01 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HTREE_CTRL, BASE_CLASS::OnUpdateViewToolbars)
//	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HTREE_CTRL, BASE_CLASS::OnViewToolbars)
//----- 04.07.01 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 04.07.01 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_HIST_VIEW_LABEL, BASE_CLASS::OnUpdateViewToolbars)
//	ON_COMMAND_EX(ID_VIEW_TOOLBAR_HIST_VIEW_LABEL, BASE_CLASS::OnViewToolbars)
//----- 04.07.01 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_COMMAND(ID_LABEL_VIEW_POINT, OnLabelViewPoint)
//	ON_UPDATE_COMMAND_UI(ID_LABEL_VIEW_POINT, OnUpdateLabelViewPoint)
//----- 01.12.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//	ON_MESSAGE(WM_USER_APP_INIT_INSTANCE, OnUserAppInitInstance)
//----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_COMMAND(ID_VIEW_HTREE_FIND_PANEL, OnViewHtreeFindPanel)
//	ON_UPDATE_COMMAND_UI(ID_VIEW_HTREE_FIND_PANEL, OnUpdateViewHtreeFindPanel)
//----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFCHistViewFrame _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_

//----- 04.06.09 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetWndHistoryTree
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//CFCWndHistoryTree* CFCHistViewFrame::GetWndHistoryTree () const
//{
//	return m_pCtlBrHTree->GetWndHistoryTree();
//} // CFCHistViewFrame::GetWndHistoryTree.
//----- 04.06.09 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::UpdateStatusBarUserDate
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiDiGiBfLiDfFiBfLiBeFjDpKiOjOjFfMiOkGiCpAiNfIjAfGiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::UpdateStatusBarUserDate ()
//{
////----- 06.04.06 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////	if (g_pDoc->GetIsDocumentOpened())
////	//----- _xZkqqHx_jFlGiPjBiCkKiKeKiCkCiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
////	{
////		// _xZkqqHx_iDiGiBfLiDfFiBfLjFfMiOkGiBeC_xHqqkZx_
////		// _xZkqqHx_iDiGiBfLiDfFiBfLjGlMiBeC_xHqqkZx_
////		WString wstrUserName;
////		if (g_pDoc->GetPrevSessionUser() == GUID_NULL)
////			wstrUserName.LoadString(IDS_GUEST);
////		else
////		if (g_pProject->GetIsReadLocked())	// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCkKiDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeBiDiGiBfLiDfFiBfLjGlMiCmJjFmPiKlHiBeC_xHqqkZx_
////			wstrUserName = g_pProject->UserIdToUserName(g_pDoc->GetPrevSessionUser());
////		SetStatusBarText(wstrUserName, ID_INDICATOR_USER);
////		// _xZkqqHx_jDpKiOjOjFfMiOkGiBeC_xHqqkZx_
////		COleDateTime otmDate = FdsecToFiletime(g_pDoc->GetPrevSessionTime());
////		// IDS_FORM_DATE_TIME_LONG "%#Y_xZkqqHx_jEeO_xHqqkZx_%#m_xZkqqHx_iMiO_xHqqkZx_%#d_xZkqqHx_jDpK_xHqqkZx_ %#H_xZkqqHx_iOjO_xHqqkZx_%#M_xZkqqHx_jFkK_xHqqkZx_"
////		SetStatusBarText(TStrToWStr(otmDate.Format(FFLoadString(IDS_FORM_DATE_TIME_LONG))), ID_INDICATOR_DATE);
////	} else
////	//----- _xZkqqHx_jFlGiPjBiCkKjFmCiClGiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
////	{
////		SetStatusBarText(L"", ID_INDICATOR_USER);
////		SetStatusBarText(L"", ID_INDICATOR_DATE);
////	}
////----- 06.04.06 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//	if (g_pDoc->GetIsDocumentOpened())
//	//----- _xZkqqHx_jFlGiPjBiCkKiKeKiCkCiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLiCgIiCgDiBeC_xHqqkZx_
//		m_guidSessionUserId = g_pDoc->GetPrevSessionUser();
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLjGlMiBeC_xHqqkZx_
//		m_wstrSessionUserName.Empty();
//		if (m_guidSessionUserId == GUID_NULL)
//			m_wstrSessionUserName.LoadString(IDS_GUEST);
//		else
//		if (g_pProject->GetIsReadLocked())	// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCkKiDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeBiDiGiBfLiDfFiBfLjGlMiCmJjFmPiKlHiBeC_xHqqkZx_
//			m_wstrSessionUserName = g_pProject->UserIdToUserName(m_guidSessionUserId);
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiBeC_xHqqkZx_
//		m_fdstSessionTime = g_pDoc->GetPrevSessionTime();
//	} else
//	//----- _xZkqqHx_jFlGiPjBiCkKjFmCiClGiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLiCgIiCgDiBeC_xHqqkZx_
//		m_guidSessionUserId = GUID_NULL;
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLjGlMiBeC_xHqqkZx_
//		m_wstrSessionUserName.Empty();
//		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiBeC_xHqqkZx_
//		m_fdstSessionTime = FDSECTIME(-1);
//	}
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiBfLjGlMiBeC_xHqqkZx_
//	SetStatusBarText(m_wstrSessionUserName, ID_INDICATOR_USER);
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiBeC_xHqqkZx_
//	if (m_fdstSessionTime != FDSECTIME(-1))
//	{
//		// _xZkqqHx_jDpKiOjOjFfMiOkGiBeC_xHqqkZx_
//		COleDateTime otmDate = FdsecToFiletime(m_fdstSessionTime);
//		// IDS_FORM_DATE_TIME_LONG "%#Y_xZkqqHx_jEeO_xHqqkZx_%#m_xZkqqHx_iMiO_xHqqkZx_%#d_xZkqqHx_jDpK_xHqqkZx_ %#H_xZkqqHx_iOjO_xHqqkZx_%#M_xZkqqHx_jFkK_xHqqkZx_"
//		SetStatusBarText(TStrToWStr(otmDate.Format(FFLoadString(IDS_FORM_DATE_TIME_LONG))), ID_INDICATOR_DATE);
//	} else
//	{
//		SetStatusBarText(L"", ID_INDICATOR_DATE);
//	}
////----- 06.04.06 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//} // CFCHistViewFrame::UpdateStatusBarUserDate.
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 06.01.23 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::UpdateLabel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLiNfIjAfGiCmMjCmKjCgNiCpAiOpDiCkPiOoGiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::UpdateLabel ()
//{
//// 01.12.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////	m_tolBrLabel.UpdateLabel(FFHistViewDoc()->GetHistoryIndex());
//} // CFCHistViewFrame::UpdateLabel.
//----- 06.01.23 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetHiMoveOperation
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmMiPoDiJlKiInKjDkOiOoNiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoDiJlKiInKjDkOiOoNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.23 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
long CFCHistViewFrame::GetHiMoveOperation (long& lValue) const
{
	lValue = m_lHiMoveOperationValue;
	return m_lHiMoveOperationKind;
} // CFCHistViewFrame::GetHiMoveOperation.

//----- 04.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::SetTempMark
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iJlMjAnNjHjKjHpAjFkKiKpCiCpAjAnNjCoIiClFiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmJjFfMiOkGiClDiClJiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_jAnNjCoIiClDiCoKiClNiJlMjAnNjHjKjHpAjFkKiKpCiCpAiJpAiPjMiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpProjectPath	:_xZkqqHx_jFkKiKpCiMlDiCmMiDhGiDiNiDfHiDeGiDeOiDgHiDhAiDfIiCpAiOhHjCoIiBeC_xHqqkZx_NULL _xZkqqHx_iCpA_xHqqkZx_
// *							 _xZkqqHx_iOhHjCoIiClFiCmEiJpAiPjMiClHiCoJiBeC_xHqqkZx_
// *			lDocumentId		:_xZkqqHx_jFkKiKpCiMlDiCmMjHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *			fliSessionIndex	:_xZkqqHx_jFkKiKpCiMlDiCmMjHjKjHpAjFlGiPjBiImKjChFiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::SetTempMark (const wchar_t* wcpProjectPath,
//									long lDocumentId,
//									flint fliSessionIndex)
//{
//	m_pCtlBrHTree->GetWndHistoryTree()->SetTempMark(wcpProjectPath,
//													lDocumentId,
//													fliSessionIndex);
//} // CFCHistViewFrame::SetTempMark.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::SetHiviewMarkUpHidocument
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAjFlGiPjBiCpAjAnNjCoIiClFiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmJjFfMiOkGiClDiClJiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpProjectPath	:_xZkqqHx_jHjKjHpAjFlGiPjBiCmMiDhGiDiNiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
// *			stDocId			:_xZkqqHx_jHjKjHpAjFlGiPjBiCmMiPfHiNiHiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNjHjKjHpAjFlGiPjBiCmNjBfDiCmEjHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmJiDhNiBfLiDeOiClDiCoKiClNiPpDjBnEiCmF_xHqqkZx_
// *			_xZkqqHx_jFfMiOkGiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.12 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::SetHiviewMarkUpHidocument (const wchar_t* wcpProjectPath,
//											const longSet& stDocId)
//{
//	m_pCtlBrHTree->GetWndHistoryTree()->SetHiviewMarkUpHidocument(
//							wcpProjectPath, stDocId);
//} // CFCHistViewFrame::SetHiviewMarkUpHidocument.
//----- 04.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetHtreeFindResults
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiMjPiNpFiCmMiMiLiJmKiCmMiDeFiDeCiDjDiDgIiDeFiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiMjPiNpFiCmMiMiLiJmKiCmMiDeFiDeCiDjDiDgIiDeFiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCDlgHistFindResults* CFCHistViewFrame::GetHtreeFindResults ()
{
	return m_wndHistFindResults;	// _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiBeC_xHqqkZx_
} // CFCHistViewFrame::GetHtreeFindResults.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetHtreeFindPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiMjPiNpFiCmMiDhAiDgMiDiLiCmMiDeFiDeCiDjDiDgIiDeFiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiMjPiNpFiCmMiDhAiDgMiDiLiCmMiDeFiDeCiDjDiDgIiDeFiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCWndHistFindPanel* CFCHistViewFrame::GetHtreeFindPanel ()
{
	return m_wndHistFindPanel;		// _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiBeC_xHqqkZx_
} // CFCHistViewFrame::GetHtreeFindPanel.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetDsmBookmarkPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	DSM_xZkqqHx_iDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	DSM_xZkqqHx_iDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCDlgDsmBookmark* CFCHistViewFrame::GetDsmBookmarkPanel ()
{
	return m_wndDsmBookmark;
//----- 06.03.08 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::GetDsmBookmarkPanel.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::UseTimeIndexChangedNotify
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFnCiPfHiOjOiKnEiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOgHiCkEiCkJiCmHiCkEiCkJiCkKjFmPiNfIiClDiCoKiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIsUseTimeIndex	:_xZkqqHx_jFnCiPfHiOjOiKnEiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOgHiCkEiCkJiCmHiCkEiCkJiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::UseTimeIndexChangedNotify (BOOL bIsUseTimeIndex)
{
	GetWndHtreeView()->UseTimeIndexChangedNotify(bIsUseTimeIndex);
} // CFCHistViewFrame::UseTimeIndexChangedNotify.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnFirstExecute
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiNmFiPiJiCmMiLeOjDkOiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnFirstExecute ()
{
//----- 06.04.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// MolipDraw.exe_xZkqqHx_iCmMjBlGiNnNiClHiCoJiDhAiDfIiCpAiOoGiCoIiPgPiClHiBeCiDhAiDfIiNmFiMoDiCmJ_xHqqkZx_"\"_xZkqqHx_iCkKjFhEiCkCiCmEiCkCiCoJiBeC_xHqqkZx_
//	WString wstrDirPath = FFGetFileDirectory(FFGetMolipExePath());
//	// DD_xZkqqHx_iDfIiDiJiDeDiDgIiCpAjFfMiOkGiBeC_xHqqkZx_
//	FFImageMessageBox(wstrDirPath + L"HistoryViewer.ddsw");
//----- 06.04.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnFirstExecute();
} // CFCHistViewFrame::OnFirstExecute.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::PostOnCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnCreate_xZkqqHx_iKnGjAjEiCmMiOmAiNhDjClMiMoDiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lpCreateStruct	: _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiPiJiKpKiJlLiKgFiOoNjFmPjAjEiCmMiNfMjBkCjBmMiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	CFCMainFrame_xZkqqHx_iDeOiDiJiDfIiCkJiCoHiBeB_xHqqkZx_CFCDynamicDrawFrame/CFCHistViewFrame_xZkqqHx_iCkK_xHqqkZx_
 *			_xZkqqHx_jFkKiKpCiClFiClNiOjOiCmJiBeB_xHqqkZx_OnDestroy_xZkqqHx_iCkJiCoHjFkKjHkDiClHiCoJjFeLjHhGiCkKiCkAiCmBiClNiPiIjHjNiCpA_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiKnGjAjEiCmJiInKjDkOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::PostOnCreate (CFrameWnd* pWndFrame)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::PostOnCreate(pWndFrame);

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDhMiDgCiDhGiDhBiDjDiDgHiCmMiDfOiBfLiDfBiDgCiDgHiCmJjDgPjIfOiBeC_xHqqkZx_
//	FFGetApp()->RegisterPopHintTarget(m_hWnd);
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 06.03.08 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// DSM_xZkqqHx_iDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiBeC_xHqqkZx_
	// m_wndHistFindResults_xZkqqHx_iNoMjAkMiCmMiJlKiCmJiCkIiCkNiCmGiBeB_xHqqkZx_Release_xZkqqHx_jEmFiCmFiCmN_xHqqkZx_
	// _xZkqqHx_iCmIiClKiCkJiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCkKiInJiPoNiCmIjCgMiCpAjFnEiClHiCoGiCkEiCmJiCmIiCmBiClNiBeC_xHqqkZx_
	// m_wndHistFindPanel_xZkqqHx_iNoMjAkMiCmMiJlKiCmJiCkIiCkNiCmG_xHqqkZx_HELP_xZkqqHx_iDhLiDfOiDjDiCkK_xHqqkZx_
	// _xZkqqHx_jFfMiOkGiClDiCoKiCmIiCkCiBeC_xHqqkZx_
	m_wndDsmBookmark = new CFCDlgDsmBookmark();
	m_wndDsmBookmark->Create(CFCDlgDsmBookmark::IDD, this);
	m_wndDsmBookmark->SetIcon(FFGetApp()->LoadIcon(IDR_HIST_VIEW), FALSE);
	m_wndDsmBookmark->SetWindowVisible();
//----- 06.03.08 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 05.11.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiCpAiNoMjAkM_xHqqkZx_ -----
	m_wndHistFindResults = new CFCDlgHistFindResults();
	m_wndHistFindResults->Create(CFCDlgHistFindResults::IDD, this);
	m_wndHistFindResults->SetIcon(FFGetApp()->LoadIcon(IDR_HIST_VIEW), FALSE);
	m_wndHistFindResults->SetWindowVisible();

	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAiNoMjAkM_xHqqkZx_ -----
	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeF_xHqqkZx_ID_xZkqqHx_iCmGiClFiCmEiBeB_xHqqkZx_IDD_PRH_HIST_FIND_OBJECT_xZkqqHx_iCpAjHjIjHhAiClHiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeF_xHqqkZx_ID_xZkqqHx_iCmNiDeFiDeCiDjDiDgIiDeFiNmAjFfHiCpAiDiMiDfHiDfIiDgHiDiKiCmJjFnLjBlGiClHiCoJiNnLiCmJiOgHiCoNiCoKiCoJiClNiCnPiBeB_xHqqkZx_
	// _xZkqqHx_iDiGiDgKiBfLiDeOiCmI_xHqqkZx_ID_xZkqqHx_iCmFiCmIiCkPiCoKiCmOiCmIiCoHiCmIiCkCiBeC_xHqqkZx_
	m_wndHistFindPanel = new CFCWndHistFindPanel(IDD_PRH_HIST_FIND_OBJECT);
	m_wndHistFindPanel->Create(this);
	m_wndHistFindPanel->SetWindowVisible();

//----- 05.11.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 04.06.05 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDgDiBfLiDiLiDgPiBfLjDjJiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
//	if (!CreateDockToolBar(m_wndToolBar, pWndFrame,
//							ID_VIEW_TOOLBAR_HIST_VIEW,
//							IDR_HIST_VIEW, IDS_HIST_VIEW)) return;
//	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiBeCiDfJiBfLiDiAiDfCiDjDiDhLiDhLiDgCiDeOiDfIjDjJiCpAiPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
//	m_wndToolBar.Init();
//----- 04.06.05 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_iDgDiBfLiDiLiDhLiDgCiDeOiDfIiDgPiBfLjDjJiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
	if (!CreateDockToolBar(	m_wndToolBoxBar,
							pWndFrame,
							ID_VIEW_TOOLBAR_HIST_VIEW_TOOLS))
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//							IDR_HIST_VIEW_TOOLBOX))
		return;
	// _xZkqqHx_iDiBiDgCiDfKiBfLiDfHjBjHiCoIjAoGiCpAjAnNjCoIiBeC_xHqqkZx_
	m_wndToolBoxBar.SetMessageWnd(g_pView);

	//----- _xZkqqHx_iDiMiDeDiDiEiBfLiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
	if (!CreateDockToolBar(	m_tolBrLayer,
							pWndFrame,
							ID_VIEW_TOOLBAR_LAYER))
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//							IDR_COMMON_LAYER))
		return;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_tolBrLayer.Initialize();
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_iDfGiBfLiDgHiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
	if (!CreateDockToolBar(	m_tolBrSheet,
							pWndFrame,
							ID_VIEW_TOOLBAR_SHEET))
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//							IDR_COMMON_SHEET))
		return;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_tolBrSheet.Initialize();
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_iDiJiDhIiDiLiDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	if (!CreateDockToolBar(	m_tolBrObjLabel,
							pWndFrame,
							ID_VIEW_TOOLBAR_OBJ_LABEL))
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//							IDR_COMMON_LABEL))
		return;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_tolBrObjLabel.Initialize();
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_jHjKjHpAiMjPiNpFiDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	if (!CreateDockToolBar(	m_tolBrHtreeSearch,
							pWndFrame,
							ID_VIEW_TOOLBAR_HTREE_SEARCH))
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//							IDR_HIST_VIEW_HTREE_SEARCH))
		return;
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	m_tolBrHtreeSearch.Initialize();

	//----- _xZkqqHx_iDiBiDjDiDgPjFmPjAjEiPiJiKpKiJlL_xHqqkZx_ -----
	// _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiMlLiNnNiCmMjHjKjHpAjBiAiNoMjFpLjGeAiIoKjHjHiCpAiOoGjDlOiBeC_xHqqkZx_vIdAndValue _xZkqqHx_iCkK_xHqqkZx_
	// empty_xZkqqHx_iCmJiCmIiCoJiClBiCmGiCmNiCmIiCkCiBeC_xHqqkZx_
	vector<longPair> vIdAndValue;
	CFCDlgHistoryMoveOpeList::GetHiMoveOpeList(vIdAndValue);
	m_lHiMoveOperationKind = vIdAndValue[0].first;
	m_lHiMoveOperationValue = vIdAndValue[0].second;

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMjDpKiOjOjFfMiOkGiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//	SetStatusBarText(L"", ID_INDICATOR_USER);
//	SetStatusBarText(L"", ID_INDICATOR_DATE);
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::PostOnCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::PreOnDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnDestroy_xZkqqHx_iKnGjAjEiCmMiOmAiNhDiOjOiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::PreOnDestroy ()
{
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDhMiDgCiDhGiDhBiDjDiDgHiCmMiDfOiBfLiDfBiDgCiDgHiCkJiCoHjDgPjIfOiJpAiPjMiBeC_xHqqkZx_
//	FFGetApp()->UnregisterPopHintTarget(m_hWnd);
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 06.03.08 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// DSM_xZkqqHx_iDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiBeC_xHqqkZx_
	m_wndDsmBookmark->DestroyWindow();
	delete m_wndDsmBookmark;
	m_wndDsmBookmark = NULL;
//----- 06.03.08 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiCpAjEgKiKpM_xHqqkZx_ -----
	m_wndHistFindResults->DestroyWindow();
	delete m_wndHistFindResults;
	m_wndHistFindResults = NULL;

	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjEgKiKpM_xHqqkZx_ -----
	m_wndHistFindPanel->DestroyWindow();
	delete m_wndHistFindPanel;
	m_wndHistFindPanel = NULL;

	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::PreOnDestroy();
} // CFCHistViewFrame::PreOnDestroy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::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 CFCHistViewFrame::GetZoomToolBarInfo (	DWORD& idCmd,
//											DWORD& idRes,
//											DWORD& idStr) const
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
void CFCHistViewFrame::GetZoomToolBarInfo (DWORD& idCmd) const
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
{
	idCmd = ID_VIEW_TOOLBAR_HIST_VIEW;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	idRes = IDR_HIST_VIEW;
//	idStr = IDS_HIST_VIEW;
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::GetZoomToolBarInfo.

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetIndicatorArray
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiPiJiKpKiJlLiCmMiClNiCnPiCmMjEhKjHpBiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiPiJiKpKiJlLiCmMiClNiCnPiCmMjEhKjHpBiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//const UINT* CFCHistViewFrame::GetIndicatorArray () const
//{
//	return s_indicators;
//} // CFCHistViewFrame::GetIndicatorArray.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::GetIndicatorArraySize
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	GetIndicatorArray_xZkqqHx_iKnGjAjEiCkKjFnEiClHjEhKjHpBiCmMiDfEiDeDiDfJiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jEhKjHpBiDfEiDeDiDfJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//long CFCHistViewFrame::GetIndicatorArraySize () const
//{
//	return long(sizeof(s_indicators) / sizeof(s_indicators[0]));
//} // CFCHistViewFrame::GetIndicatorArraySize.
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::HtreeViewVisible
// *
// * <_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 CFCHistViewFrame::HtreeViewVisible (BOOL bIsVisible)
//{
//	if (m_pCtlBrHTree->IsWindowVisible() == bIsVisible) return;
//	if (bIsVisible)
//	{
//		m_pCtlBrHTree->ShowWindow(SW_SHOW);
//	} else
//	{
//		m_pCtlBrHTree->ShowWindow(SW_HIDE);
//	}
//	RecalcLayout();
//} // CFCHistViewFrame::HtreeViewVisible.
//----- 04.06.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/////////////////////////////////////////////////////////////////////////////
// CFCHistViewFrame _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnDestroy
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkKjEgKiKpMiClDiCoKiCoJiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnDestroy ()
//{
//	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiCpAjEgKiKpM_xHqqkZx_ -----
////----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	if (m_wndHistFindResults != NULL)
////	{
////----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//	m_wndHistFindResults->DestroyWindow();
//	delete m_wndHistFindResults;
//	m_wndHistFindResults = NULL;
//// 05.11.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////	}
//
////----- 05.11.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjEgKiKpM_xHqqkZx_ -----
////----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	if (m_wndHistFindPanel != NULL)
////	{
////----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//	m_wndHistFindPanel->DestroyWindow();
//	delete m_wndHistFindPanel;
//	m_wndHistFindPanel = NULL;
//// 05.11.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////	}
////----- 05.11.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//
////----- 04.06.26 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	//----- _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmMjEgKiKpM_xHqqkZx_ -----
////	m_pCtlBrHTree->DestroyWindow();
////	delete m_pCtlBrHTree;
////	m_pCtlBrHTree = NULL;
////----- 04.06.26 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnDestroy();
//} // CFCHistViewFrame::OnDestroy.
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.03.26 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserOpenProjectHiDocPos
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCkJiCoHiBeBjHjKjHpAiImKjChFiCpAjBeJjBpAiClFiClNiCmGiCkLiCmJjBjHiCoHiCoKiCoJ_xHqqkZx_
// *			_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiDgOiDjDiDgIiDiJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:lParam_xZkqqHx_iCmM_xHqqkZx_FCHIDocumentPosition_xZkqqHx_iMfOiDgGiBfLiDfOiCmMiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:FCHIDocumentPosition_xZkqqHx_iMfOiDgGiBfLiDfOiDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *			02.01.24 Fukushiro M. _xZkqqHx_iPeDjAlD_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserOpenProjectHiDocPos (WPARAM wParam, LPARAM lParam)
//{
////----- 02.01.24 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////	FCHTMsgData* msgData = (FCHTMsgData*)lParam;
////	(void)FFHistViewDoc()->ViewHidocument(msgData->strProjPath, msgData->lDocId,
////											msgData->dwFilePtr);
////----- 02.01.24 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgGiBfLiDfOjHmMiIoGiBeC_xHqqkZx_
//	const FCHIDocumentPosition* pDocPos = (FCHIDocumentPosition*)lParam;
////----- 02.03.03 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////	(void)FFHistViewDoc()->ViewHidocument(	pDocPos->m_tcsProjectPath,
////											pDocPos->m_lDocumentId,
////											pDocPos->m_fliFilePtr);
////----- 02.03.03 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//	FFHistViewDoc()->ReqOpenHidocument(pDocPos->m_tcsProjectPath,
//										pDocPos->m_lDocumentId,
//										pDocPos->m_dwSessionIndex);
////----- 02.03.03 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
////----- 02.01.24 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//	return 1;
//} // CFCHistViewFrame::OnUserOpenProjectHiDocPos.
//----- 02.03.26 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.01.24 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserOpenHidocumentPos
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAjFlGiPjBiCpAiKeKiCkLiBeBjHjKjHpAiImKjChFiCmJiInKjDkOiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeCjFlGiPjBiCpAjFmPiNfIiClFiCmIiCkCiPoKiNiHiCmN_xHqqkZx_ -1L_xZkqqHx_iBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jHjKjHpAjFlGiPjBiImKjChFiCpAiOhHjCoIiBeCiNmFiMoDiCpAiOhHjCoIiClHiCoJiPoKiNiHiCmN_xHqqkZx_ DWORD(-1)_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserOpenHidocumentPos (WPARAM wParam, LPARAM lParam)
//{
//	long lDocId = long(wParam);
//	DWORD dwPtr = DWORD(lParam);
//	if (lDocId == -1L) lDocId = FFHistViewDoc()->GetDocumentId();
//	(void)FFHistViewDoc()->ViewHidocument(FFHistViewDoc()->GetProject().GetFilePath(),
//										lDocId, dwPtr);
//	return 1;
//} // CFCHistViewFrame::OnUserOpenHidocumentPos.
//----- 02.01.24 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.06.28 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserSyncHiviewToDocument
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAiBeBiDgIiDeMiDiFiDiBiDjDiDgHiCmMjFlGiPjB_xHqqkZx_ID_xZkqqHx_iBeBiImKjChFiPoOjFpBjDjJiCmJiIoKjChGiClDiClJiCoJiBeC_xHqqkZx_
// *			WM_USER_SYNC_HIVIEW_TO_DOCUMENT_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAiDgOiDjDiDgIiDiLiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCmJiDfJiBfLiDiAjClCjAkOiClFiCmEiDhEiDeCiDgCiDgHiClDiClJiCoJiCkJiBeI_xHqqkZx_
// *			lParam	:_xZkqqHx_iMlLiNnNiCmMiImKjChFiCnMiCmFiDfIiDeOiDiNiBfLiDiLiClHiCoJiCkJiBeI_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.11.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserSyncHiviewToDocument (WPARAM wParam, LPARAM lParam)
//{
//	m_pCtlBrHTree->GetWndHistoryTree()->OnSyncToDocument(
//											g_pProject->GetFilePath(),
//											FFHistViewDoc()->GetDocumentId(),
//											FFHistViewDoc()->GetNextSessionIndex() - FFHistViewDoc()->GetFirstSessionIndex(),
//											BOOL(wParam), BOOL(lParam));
//	return 1;
//} // CFCHistViewFrame::OnUserSyncHiviewToDocument.
//----- 04.06.28 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserSheetChanged
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserSheetChanged (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iDfGiBfLiDgHiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
//	m_tolBrSheet.OnSheetUpdated();
//	return 1;
//} // CFCHistViewFrame::OnUserSheetChanged.
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserCurrentSheetChanged
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeKiDiMiDjDiDgHiDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserCurrentSheetChanged (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iDfGiBfLiDgHiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
//	m_tolBrSheet.OnSheetUpdated();
//	return 1;
//} // CFCHistViewFrame::OnUserCurrentSheetChanged.
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

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

//----- 05.10.07 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeMoveOperationEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiCfAjBiAiNoMjCfAiImKiCmFiInKjDkOiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeMoveOperationEach ()
//{
//	if (m_lHiMoveOperationKind == ID_HTREE_MOVE_OPERATION_EACH) return;
//	// _xZkqqHx_iInKjDkOjCfAiImKiCpAjFmPiNfIiBeC_xHqqkZx_
//	m_lHiMoveOperationKind = ID_HTREE_MOVE_OPERATION_EACH;
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJjCmKjCgNiBeC_xHqqkZx_
////	m_wndHTreeBar.SetCurUpDownKind(m_lHiMoveOperationKind);
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//} // CFCHistViewFrame::OnHtreeMoveOperationEach.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeMoveOperationEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiCfAjBiAiNoMjCfAiImKiCmFiInKjDkOiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeMoveOperationEach (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate());
//	pCmdUI->SetCheck(m_lHiMoveOperationKind == ID_HTREE_MOVE_OPERATION_EACH);
//} // CFCHistViewFrame::OnUpdateHtreeMoveOperationEach.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeMoveLttEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjClHiNgMjCfAiImKiCmFiInKjDkOiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeMoveLttEach ()
//{
//	if (m_lHiMoveOperationKind == ID_HTREE_MOVE_LTT_EACH) return;
//	// _xZkqqHx_iInKjDkOjCfAiImKiCpAjFmPiNfIiBeC_xHqqkZx_
//	m_lHiMoveOperationKind = ID_HTREE_MOVE_LTT_EACH;
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJjCmKjCgNiBeC_xHqqkZx_
////	m_wndHTreeBar.SetCurUpDownKind(m_lHiMoveOperationKind);
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//} // CFCHistViewFrame::OnHtreeMoveLttEach.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeMoveLttEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjClHiNgMjCfAiImKiCmFiInKjDkOiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeMoveLttEach (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate());
//	pCmdUI->SetCheck(m_lHiMoveOperationKind == ID_HTREE_MOVE_LTT_EACH);
//} // CFCHistViewFrame::OnUpdateHtreeMoveLttEach.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeMoveTimeEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiOjOiKnEjCfAiImKiCmFiInKjDkOiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeMoveTimeEach ()
//{
//	if (m_lHiMoveOperationKind == ID_HTREE_MOVE_TIME_EACH) return;
//	// _xZkqqHx_iInKjDkOjCfAiImKiCpAjFmPiNfIiBeC_xHqqkZx_
//	m_lHiMoveOperationKind = ID_HTREE_MOVE_TIME_EACH;
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJjCmKjCgNiBeC_xHqqkZx_
////	m_wndHTreeBar.SetCurUpDownKind(m_lHiMoveOperationKind);
////----- 05.01.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//} // CFCHistViewFrame::OnHtreeMoveTimeEach.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeMoveTimeEach
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiOjOiKnEjCfAiImKiCmFiInKjDkOiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeMoveTimeEach (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate());
//	pCmdUI->SetCheck(m_lHiMoveOperationKind == ID_HTREE_MOVE_TIME_EACH);
//} // CFCHistViewFrame::OnUpdateHtreeMoveTimeEach.
//----- 05.10.07 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.04.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeGlobalView
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiPoDiImKiJoGjGmKiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeGlobalView ()
//{
//	CFCWndHistoryTree::FTHTViewMode mode = GetWndHistoryTree()->GetViewMode();
//	if (mode <= CFCWndHistoryTree::FDHT_VMODE_PROJECT) return;
//	GetWndHistoryTree()->SetUpperViewMode();
//} // CFCHistViewFrame::OnHtreeGlobalView.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeGlobalView
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiPoDiImKiJoGjGmKiCpAjFfMiOkGiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeGlobalView (CCmdUI* pCmdUI)
//{
//	CFCWndHistoryTree::FTHTViewMode mode = GetWndHistoryTree()->GetViewMode();
//	pCmdUI->Enable(FFCanBasicOperate() && CFCWndHistoryTree::FDHT_VMODE_PROJECT < mode);
//} // CFCHistViewFrame::OnUpdateHtreeGlobalView.
//----- 03.04.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.04.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeZoomin
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiJoGjGmKiCpAiKgHjBoFiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeZoomin ()
//{
//	// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	double dZoom = GetWndHistoryTree()->GetZoom();
//	// dZoom = 2^x _xZkqqHx_iCmM_xHqqkZx_x_xZkqqHx_iCpAiLiBiCnPiCoJiBeC_xHqqkZx_
//	double dX = log(dZoom) / log(2.0);
//	// _xZkqqHx_jAfGiClFiCkCiDfJiBfLiDiAjCgMiCmNiBeBjGpBiCfBjEhLiCmJiClHiCoJiBeC_xHqqkZx_x_xZkqqHx_iCpAjAkOjAjEiJlLiClHiCoJiCmMiCmNiBeBiCfBiCmMiPoGjAjEiCmJiCmIiCoJiCoGiCkEiCmJiBeC_xHqqkZx_
//	dZoom = pow(2.0, D2L(dX) + 1);
//	// _xZkqqHx_iDfJiBfLiDiAjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
//	GetWndHistoryTree()->SetZoom(dZoom);
//} // CFCHistViewFrame::OnHtreeZoomin.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeZoomin
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiJoGjGmKiCpAiKgHjBoFiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeZoomin (CCmdUI* pCmdUI)
//{
//	BOOL bEnable = FALSE;
//	// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	double dZoom = GetWndHistoryTree()->GetZoom();
//	double dZoomMin, dZoomMax;
//	// _xZkqqHx_iDfJiBfLiDiAiCmMiNmFjBoFiBeBiNmFiPkMjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	if (GetWndHistoryTree()->GetZoomLimit(dZoomMin, dZoomMax))
//	{
//		// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCkKiNmFjBoFjCgMiCmJiOiKiCmBiCmEiCkCiCmIiCkCiPoKiNiHiCmNiBeBiCgOiCgKiBeC_xHqqkZx_
//		if (dZoom < dZoomMax) bEnable = TRUE;
//	}
//	pCmdUI->Enable(FFCanBasicOperate() && bEnable);
//} // CFCHistViewFrame::OnUpdateHtreeZoomin.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeZoomout
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiJoGjGmKiCpAiPgLiPkMiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnHtreeZoomout ()
//{
//	// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	double dZoom = GetWndHistoryTree()->GetZoom();
//	// dZoom = 2^x _xZkqqHx_iCmM_xHqqkZx_x_xZkqqHx_iCpAiLiBiCnPiCoJiBeC_xHqqkZx_
//	double dX = log(dZoom) / log(2.0);
//	// _xZkqqHx_jAfGiClFiCkCiDfJiBfLiDiAjCgMiCmNiBeBjGpBjElMjFkKiCmJiClHiCoJiBeC_xHqqkZx_x_xZkqqHx_iCpAjAkOjAjEiJlLiClHiCoJiCmMiCmNiBeBiCfBiCmMiPoGjAjEiCmJiCmIiCoJiCoGiCkEiCmJiBeC_xHqqkZx_
//	dZoom = pow(2.0, D2L(dX) - 1);
//	// _xZkqqHx_iDfJiBfLiDiAjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
//	GetWndHistoryTree()->SetZoom(dZoom);
//} // CFCHistViewFrame::OnHtreeZoomout.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeZoomout
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiJoGjGmKiCpAiPgLiPkMiBhGiCmMiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateHtreeZoomout (CCmdUI* pCmdUI)
//{
//	BOOL bEnable = FALSE;
//	// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	double dZoom = GetWndHistoryTree()->GetZoom();
//	double dZoomMin, dZoomMax;
//	// _xZkqqHx_iDfJiBfLiDiAiCmMiNmFjBoFiBeBiNmFiPkMjCgMiCpAiOoGjDlOiBeC_xHqqkZx_
//	if (GetWndHistoryTree()->GetZoomLimit(dZoomMin, dZoomMax))
//	{
//		// _xZkqqHx_iMlLiNnNiCmMiDfJiBfLiDiAjCgMiCkKiNmFiPkMjCgMiCmJiOiKiCmBiCmEiCkCiCmIiCkCiPoKiNiHiCmNiBeBiCgOiCgKiBeC_xHqqkZx_
//		if (dZoomMin < dZoom) bEnable = TRUE;
//	}
//	pCmdUI->Enable(FFCanBasicOperate() && bEnable);
//} // CFCHistViewFrame::OnUpdateHtreeZoomout.
//----- 03.04.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.11.02 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewHtreeFindPanel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.19 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnViewHtreeFindPanel ()
//{
//	if (m_wndHistFindResults == NULL)
//	{
//		//----- _xZkqqHx_jHjKjHpAiMjPiNpFiMiLiJmKiDhAiDgMiDiLiCpAiNoMjAkM_xHqqkZx_ -----
//		m_wndHistFindResults = new CFCDlgHistFindResults();
//		m_wndHistFindResults->Create(CFCDlgHistFindResults::IDD, this);
//		m_wndHistFindResults->SetIcon(FFGetApp()->LoadIcon(IDR_HIST_VIEW), FALSE);
//	}
//	if (m_wndHistFindResults->IsWindowVisible())
//		m_wndHistFindResults->ShowWindow(SW_HIDE);
//	else
//		m_wndHistFindResults->ShowWindow(SW_SHOW);
//} // CFCHistViewFrame::OnViewHtreeFindPanel.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewHtreeFindPanel
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.06.19 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCHistViewFrame::OnUpdateViewHtreeFindPanel (CCmdUI* pCmdUI)
//{
//	pCmdUI->Enable(FFCanBasicOperate());
//	pCmdUI->SetCheck(m_wndHistFindResults != NULL && m_wndHistFindResults->IsWindowVisible());
//} // CFCHistViewFrame::OnUpdateViewHtreeFindPanel.
//----- 05.11.02 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeFindResults
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiMiLiJmKiIoKjHjHiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeFindResults ()
{
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (m_wndHistFindResults->IsWindowVisible())
//		m_wndHistFindResults->ShowWindow(SW_HIDE);
//	else
//		m_wndHistFindResults->ShowWindow(SW_SHOW);
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (m_wndHistFindResults->IsWindowVisible())
		m_wndHistFindResults->SetWindowVisible(FALSE);
	else
		m_wndHistFindResults->SetWindowVisible(TRUE);
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::OnHtreeFindResults.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeFindResults
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiMiLiJmKiIoKjHjHiCpAjFfMiOkGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeFindResults (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
// 05.11.02 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	pCmdUI->SetCheck(m_wndHistFindResults != NULL && m_wndHistFindResults->IsWindowVisible());
	pCmdUI->SetCheck(m_wndHistFindResults->IsWindowVisible());
} // CFCHistViewFrame::OnUpdateHtreeFindResults.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeFindPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeFindPanel ()
{
//----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	if (m_wndHistFindPanel == NULL)
//	{
//		//----- _xZkqqHx_jHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAiNoMjAkM_xHqqkZx_ -----
//		m_wndHistFindPanel = new CFCWndHistFindPanel();
//		m_wndHistFindPanel->Create(this);
//// 05.11.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////		m_wndHistFindPanel->SetIcon(FFGetApp()->LoadIcon(IDR_HIST_VIEW), FALSE);
//	}
//----- 05.11.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (m_wndHistFindPanel->IsWindowVisible())
//		m_wndHistFindPanel->ShowWindow(SW_HIDE);
//	else
//		m_wndHistFindPanel->ShowWindow(SW_SHOW);
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (m_wndHistFindPanel->IsWindowVisible())
		m_wndHistFindPanel->SetWindowVisible(FALSE);
	else
		m_wndHistFindPanel->SetWindowVisible(TRUE);
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCHistViewFrame::OnHtreeFindPanel.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeFindPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiMjPiNpFiDhAiDgMiDiLiCpAjFfMiOkGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeFindPanel (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
// 05.11.02 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	pCmdUI->SetCheck(m_wndHistFindPanel != NULL && m_wndHistFindPanel->IsWindowVisible());
	pCmdUI->SetCheck(m_wndHistFindPanel->IsWindowVisible());
} // CFCHistViewFrame::OnUpdateHtreeFindPanel.
//----- 05.11.02 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnOptionEnv
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiKmCiLkLiCmMjAnNjCoIiDfCiDhNiDjDiDgIiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iKmCiLkLiCmMjAnNjCoIjHhAiCmMiDfPiDeDiDeBiDiNiDePiCpAiLeOjDkOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.01.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnOptionEnv ()
{
	// CFCCommonDrawFrame::OnOptionEnv_xZkqqHx_iCmGjEoEiCnHiCmEiBeBiLeOjDkOiOjOiDgFiDjDiDhGiDiMiBfLiDgHiCmMiOhHjCoIiCkKjGlDiCkCiBeC_xHqqkZx_
//----- 05.05.09 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// IDS_MSG_SET_ENVIRONMENT = "_xZkqqHx_iKmCiLkLiCmMjAnNjCoI_xHqqkZx_"
//	CFCPropertySheet sheet(IDS_MSG_SET_ENVIRONMENT);
//----- 05.05.09 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// ID_OPTION_ENV = "_xZkqqHx_iKmCiLkLiCmMjAnNjCoI_xHqqkZx_"
	CFCPropertySheet sheet(ID_OPTION_ENV);
//----- 05.05.09 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	CFCPreColor prpCol;
	CFCPreFont prpFnt;
	CFCPreUnit prpUnit;
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	CFCPreToolbar prpToolbar;
	CFCPreInterface prpInterface;
	CFCPrePopHint prpPopHint;
	CFCPreText prpText;
	CFCPreDraw prpDraw;
	CFCPrePlugIn prpPlugIn;
	sheet.AddPage(&prpCol);
	sheet.AddPage(&prpFnt);
	sheet.AddPage(&prpUnit);
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	sheet.AddPage(&prpToolbar);
	sheet.AddPage(&prpInterface);
	sheet.AddPage(&prpPopHint);
	sheet.AddPage(&prpText);
	sheet.AddPage(&prpDraw);
	sheet.AddPage(&prpPlugIn);
	(void)sheet.DoModal();
} // CFCHistViewFrame::OnOptionEnv.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateOptionEnv
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiKmCiLkLiCmMjAnNjCoIiDfCiDhNiDjDiDgIiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_jFfMiOkGiPpDjBnEiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.01.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateOptionEnv (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
} // CFCHistViewFrame::OnUpdateOptionEnv.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnOptionHistoryMoveOpeList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjHjKjHpAiInKjDkOjFpLjGeAiIoKjHjHiCmMjAnNjCoIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnOptionHistoryMoveOpeList ()
{
	CFCDlgHistoryMoveOpeList dlg;
	if (dlg.DoModal() == IDOK)
	{
		// _xZkqqHx_jHjKjHpAiInKjDkOjFpLjGeAiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiDfCiDjDiDgFiDjDiDgDiCpAiPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
		GetWndHtreeView()->InitUpDownKindComboBox();
	}
} // CFCHistViewFrame::OnOptionHistoryMoveOpeList.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateOptionHistoryMoveOpeList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjHjKjHpAiInKjDkOjFpLjGeAiIoKjHjHiCmMjAnNjCoIiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDfCiDhNiDjDiDgIiCmMjHeMiMpIiPpDjBnEiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateOptionHistoryMoveOpeList (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(TRUE);
} // CFCHistViewFrame::OnUpdateOptionHistoryMoveOpeList.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeSelectMoveOperation
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjHjKjHpAiCmMiInKjDkOjCfAiImKiCmMjAnNjCoIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeSelectMoveOperation ()
{
	CFCDlgSelectHistoryMoveOperation dlg;
	dlg.DoModal();
} // CFCHistViewFrame::OnHtreeSelectMoveOperation.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeSelectMoveOperation
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjHjKjHpAiCmMiInKjDkOjCfAiImKiCmMjAnNjCoIiBhGiCmMjHeMiMpIjAkLiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDfCiDhNiDjDiDgIiCmMjHeMiMpIjAkLiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeSelectMoveOperation (CCmdUI* pCmdUI)
{
	// TODO: _xZkqqHx_iClBiCmMiImKjChFiCmJ_xHqqkZx_ command update UI _xZkqqHx_iDgOiDjDiDgIiDiJjHhAiCmMiDfCiBfLiDgIiCpAjCmHiJmBiClFiCmEiCkNiClOiClDiCkC_xHqqkZx_
	
} // CFCHistViewFrame::OnUpdateHtreeSelectMoveOperation.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserSetHiMoveOperation
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAiInKjDkOjFpLjGeAiCmMjAnNjCoIiDiBiDgCiDfKiBfLiDfH_xHqqkZx_(WM_USER_SET_HI_MOVE_OPERATION)_xZkqqHx_iCmM_xHqqkZx_
 *			_xZkqqHx_iPiIjHjNiKnGjAjEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jHjKjHpAiInKjDkOjFpLjGeAiCmMiOoNjHnOiCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jHjKjHpAiInKjDkOjFpLjGeAiCmMjBoFiCkLiClDiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jHoBiBeG_xHqqkZx_
 *			10_xZkqqHx_jBiAiNoMjCfAiImKiCmFiInKjDkOiCmMiPoKiNiHiBeC_xHqqkZx_
 *			wParam = FD_HTREE_MOVE_OPERATION_EACH, lParam = 10
 *			30_xZkqqHx_jFgCjClHiNgMjCfAiImKiCmFiInKjDkOiCmMiPoKiNiHiBeC_xHqqkZx_
 *			wParam = FD_HTREE_MOVE_LTT_EACH, lParam = 30
 *			5_xZkqqHx_jFkKiMgPiJnPjCfAiImKiCmFiInKjDkOiCmMiPoKiNiHiBeC_xHqqkZx_
 *			wParam = FD_HTREE_MOVE_TIME_EACH, lParam = 300
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.07 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCHistViewFrame::OnUserSetHiMoveOperation (WPARAM wParam, LPARAM lParam)
{
	m_lHiMoveOperationKind = long(wParam);
	m_lHiMoveOperationValue = long(lParam);
	return 1;
} // CFCHistViewFrame::OnUserSetHiMoveOperation.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserDsmUpdated
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	DSM_xZkqqHx_jFmPiNfIjCmKjCgNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_(WM_USER_DSM_UPDATED)_xZkqqHx_iCmMiPiIjHjNiKnGjAjEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jCmHiJmBiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBiNoNiPjMiCmMiPoKiNiHiCmN_xHqqkZx_FALSE_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jCmHiJmBiBeFiNoNiPjMiClDiCoKiClN_xHqqkZx_DSM_xZkqqHx_iCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCHistViewFrame::OnUserDsmUpdated (WPARAM wParam, LPARAM lParam)
{
	if (wParam)
	//----- _xZkqqHx_iNiAjGnKjCmHiJmBiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iDiKiDfIiDgHiCpAiNfIjAfGiBeC_xHqqkZx_
		GetDsmBookmarkPanel()->UpdateList();
		// _xZkqqHx_jCmHiJmBiClFiClNiNiAjGnKiCpAjBeJjBpAiClHiCoJiBeC_xHqqkZx_
		GetDsmBookmarkPanel()->SetCurSel(lParam);
	} else
	//----- _xZkqqHx_iNiAjGnKiNoNiPjMiCmMiPoKiNiH_xHqqkZx_ -----
	{
		long lCurIndex = GetDsmBookmarkPanel()->GetCurSel();
		// _xZkqqHx_iDiKiDfIiDgHiCpAiNfIjAfGiBeC_xHqqkZx_
		GetDsmBookmarkPanel()->UpdateList();
		// _xZkqqHx_iNoNiPjMiClDiCoKiClNiNiAjGnKiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCkKiJlKiCmIiCoHiCmOiBeBjBeJjBpAiCpAiMlIiCoHiClHiBeC_xHqqkZx_
		if (lParam <= lCurIndex)
			GetDsmBookmarkPanel()->SetCurSel(lCurIndex - 1);
	}
	return 1;
} // CFCHistViewFrame::OnUserDsmUpdated.

//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUserPursuerTextNeedInfo
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhMiDgCiDhGiDhBiDjDiDgHiCkKiDhBiDjDiDgHiPoOjFpBiCmMjAnNjCoIiCpAjHhGiLiBiClHiCoJiNnLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDhNiDeFiDfIiImKjChFiCmMiDeFiDeCiDjDiDgIiDeFiDgOiDjDiDgIiDiLiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_jFeLiClIiBeB_xHqqkZx_GetCursorPos_xZkqqHx_iKnGjAjEiCmFiDhNiDeFiDfIiImKjChFiCpAiOoGjDlOiClHiCoJiClBiCmGiBeC_xHqqkZx_
// *			_xZkqqHx_iDhNiDeFiDfIiNmAjFfHiCkK_xHqqkZx_WM_MOUSEMOVE_xZkqqHx_iCmJjHiKiCmBiCmEiCkCiCoJiCmGiBeBiDiBiDgKiDiFiBfLjFfMiOkGiOjOiCmIiCmHiCmJ_xHqqkZx_
// *			_xZkqqHx_iDhNiDeFiDfIiImKjChFiCkKiMlLiNnNiCmMiImKjChFiCmGjAeIiCkCiIoBiCmBiCmEiCkCiCoJiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmNiBeBiDhNiDeFiDfIiImKjChFiCmMiDeFiDeCiDjDiDgIiDeFiCpAjClCiCnHiBeBiCnMiClIiClLiCmMiDeFiDeCiDjDiDgIiDeFiCnG_xHqqkZx_
// *			WM_USER_PURSUER_TEXT_NEED_INFO_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpA_xHqqkZx_SendMessage_xZkqqHx_iCmFjBjHjFhEiClHiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iDiBiDgCiDfKiBfLiDfHjGnPiCoIjCgMiCkKiCePiCmMiPoKiNiHiCmNiBeBiClLiCmMiDeFiDeCiDjDiDgIiDeFiCmMjAgFiDeFiDeCiDjDiDgIiDeFiCnG_xHqqkZx_
// *			_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAjBjHjFhEiClHiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_jGnPiCoIjCgMiCkKiCePiImIiKePiCmFiCkAiCoJiCkJjAgFiDeFiDeCiDjDiDgIiDeFiCkKjGlDiCkNiCmIiCoJiCnMiCmFiClBiCoKiCpAiMeKiCoIjFnEiClHiBeC_xHqqkZx_
// *			wParam _xZkqqHx_iCmJiCmNiBeBiNmFiPiJiCmJiDiBiDgCiDfKiBfLiDfHiCpAjBjHjFhEiClFiClNiDeFiDeCiDjDiDgIiDeFiCkKiOhHjCoIiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCHistViewFrame::OnUserPursuerTextNeedInfo (WPARAM wParam, LPARAM)
//{
//	if (g_pReg->GetIsPopupStatusBarHint())
//	//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiDhBiDjDiDgHiCpAjFfMiOkGiClHiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		HWND hwndPoint = HWND(wParam);
//		if (m_wndStatusBar.m_hWnd == hwndPoint)
//		//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmJiDhNiDeFiDfIiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iDiGiBfLiDfFiBfLjGlMjFfMiOkGjIgHiCmMiDeDiDjDiDgGiDgCiDeOiDfIiBeC_xHqqkZx_
//			int iIndexUser = m_wndStatusBar.CommandToIndex(ID_INDICATOR_USER);
//			CRect rtUser;
//			m_wndStatusBar.GetItemRect(iIndexUser, rtUser);
//			// _xZkqqHx_jDpKiOjOjFfMiOkGjIgHiCmMiDeDiDjDiDgGiDgCiDeOiDfIiBeC_xHqqkZx_
//			int iIndexDate = m_wndStatusBar.CommandToIndex(ID_INDICATOR_DATE);
//			CRect rtDate;
//			m_wndStatusBar.GetItemRect(iIndexDate, rtDate);
//			// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
//			CPoint ptMouse;
//			(void)::GetCursorPos(&ptMouse);
//			m_wndStatusBar.ScreenToClient(&ptMouse);
//			if ((rtUser | rtDate).PtInRect(ptMouse))
//			//----- _xZkqqHx_iDeKiBfLiDfMiDiLiCkKiDiGiBfLiDfFiBfLjGlMiCkJjDpKiOjOiCmMjIgHjDoAiCmJiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//			{
//				// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiBeC_xHqqkZx_
//				WString wstrDate;
//				if (m_fdstSessionTime != FDSECTIME(-1))
//				{
//					// _xZkqqHx_jDpKiOjOjFfMiOkGiBeC_xHqqkZx_
//					COleDateTime otmDate = FdsecToFiletime(m_fdstSessionTime);
//					// IDS_FORM_DATE_TIME_LONG "%#Y_xZkqqHx_jEeO_xHqqkZx_%#m_xZkqqHx_iMiO_xHqqkZx_%#d_xZkqqHx_jDpK_xHqqkZx_ %#H_xZkqqHx_iOjO_xHqqkZx_%#M_xZkqqHx_jFkK_xHqqkZx_"
//					wstrDate = TStrToWStr(otmDate.Format(FFLoadString(IDS_FORM_DATE_TIME_LONG)));
//				}
//				// _xZkqqHx_jFnCiPfHiOnC_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
//				WString wstrUserId;
//				if (m_guidSessionUserId != GUID_NULL)
//					wstrUserId = FFGuidToString(m_guidSessionUserId);
//				// IDS_FORM_HTREE_PROPERTY_M = "_xZkqqHx_jDpKiOjO_xHqqkZx_:%s\r\n_xZkqqHx_jFnCiPfHiOnCjGlM_xHqqkZx_:%s\r\n_xZkqqHx_jFnCiPfHiOnC_xHqqkZx_ID:%s"
//				FFGetApp()->GetPopHint()->SetTargetInfo(
//					FormatResString(IDS_FORM_HTREE_PROPERTY_M,
//									wstrDate.c_str(),				// _xZkqqHx_jDpKiOjOiBeC_xHqqkZx_
//									m_wstrSessionUserName.c_str(),	// _xZkqqHx_jFnCiPfHiOnCjGlMiBeC_xHqqkZx_
//									wstrUserId.c_str()));			// _xZkqqHx_jFnCiPfHiOnC_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
//			}
//		}
//	}
//	return 0;
//} // CFCHistViewFrame::OnUserPursuerTextNeedInfo.
//----- 06.04.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeJumpNextFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiOjPiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeJumpNextFindResult ()
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	long lCount = GetHtreeFindResults()->GetCount();
	lCurSel++;
	if (lCurSel != lCount)
	//----- _xZkqqHx_iMlLiNnNiCmMiOjPiCmMjBeJjBpAiCkKjHeMiMpIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iOjPiCmMiDeBiDeDiDgFiDiAiCpAjBeJjBpAiBeC_xHqqkZx_
		GetHtreeFindResults()->SetCurSel(lCurSel);
		// _xZkqqHx_iMlLiNnNiCmMiDeBiDeDiDgFiDiAiCpAjFfMiOkGiBeBiCmMiDfCiDhNiDjDiDgIiCpAiOmAiNhDiBeC_xHqqkZx_
		SendMessage(WM_COMMAND, ID_HTREE_JUMP_CURRENT_FIND_RESULT, (LPARAM)0);
	}
} // CFCHistViewFrame::OnHtreeJumpNextFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeJumpNextFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiOjPiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDfCiDhNiDjDiDgIiCmMjHeMiMpIiBeFjGlDiMpIiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeJumpNextFindResult (CCmdUI* pCmdUI)
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	long lCount = GetHtreeFindResults()->GetCount();
	lCurSel++;
	pCmdUI->Enable(lCurSel != lCount);
} // CFCHistViewFrame::OnUpdateHtreeJumpNextFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeJumpPrevFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjBePiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeJumpPrevFindResult ()
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	long lCount = GetHtreeFindResults()->GetCount();
	// _xZkqqHx_jBeJjBpAiCkKjGlDiCkCiPoKiNiHiCmNiBeBiDeBiDeDiDgFiDiAjAjEiCpAjAnNjCoIiBeC_xHqqkZx_
	if (lCurSel == -1) lCurSel = lCount;
	lCurSel--;
	if (lCurSel != -1)
	//----- _xZkqqHx_iMlLiNnNiCmMjBePiCmMjBeJjBpAiCkKjHeMiMpIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_jBePiCmMiDeBiDeDiDgFiDiAiCpAjBeJjBpAiBeC_xHqqkZx_
		GetHtreeFindResults()->SetCurSel(lCurSel);
		// _xZkqqHx_iMlLiNnNiCmMiDeBiDeDiDgFiDiAiCpAjFfMiOkGiBeBiCmMiDfCiDhNiDjDiDgIiCpAiOmAiNhDiBeC_xHqqkZx_
		SendMessage(WM_COMMAND, ID_HTREE_JUMP_CURRENT_FIND_RESULT, (LPARAM)0);
	}
} // CFCHistViewFrame::OnHtreeJumpPrevFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeJumpPrevFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjBePiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDfCiDhNiDjDiDgIiCmMjHeMiMpIiBeFjGlDiMpIiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeJumpPrevFindResult (CCmdUI* pCmdUI)
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	long lCount = GetHtreeFindResults()->GetCount();
	// _xZkqqHx_jBeJjBpAiCkKjGlDiCkCiPoKiNiHiCmNiBeBiDeBiDeDiDgFiDiAjAjEiCpAjAnNjCoIiBeC_xHqqkZx_
	if (lCurSel == -1) lCurSel = lCount;
	lCurSel--;
	pCmdUI->Enable(lCurSel != -1);
} // CFCHistViewFrame::OnUpdateHtreeJumpPrevFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnHtreeJumpCurrentFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnHtreeJumpCurrentFindResult ()
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	if (lCurSel != -1)
	//----- _xZkqqHx_iMlLiNnNiCmMjBeJjBpAiCkKjHeMiMpIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iDeBiDeDiDgFiDiAiCpAiOoGjDlOiBeC_xHqqkZx_
		FCHFRecord rec = GetHtreeFindResults()->GetItem(lCurSel);
//----- 06.03.08 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//		// _xZkqqHx_iMlLiNnNiCmMjHjKjHpAiImKjChFiCpAiLeMjIfOiClHiCoJiBeC_xHqqkZx_
//		g_pDoc->PushBackDocRequest(ID_DREQ_PUSH_CURRENT_TO_DSM);
//----- 06.03.08 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
		// _xZkqqHx_iOhHjCoIiCmMiDhGiDiNiDfHiDeGiDeOiDgHiBeFjHjKjHpAjFlGiPjBiBeFiImKjChFiCnGiInKjDkOiClHiCoJiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(	ID_DREQ_MOVE_HISTORY_UNTIL_PJ_HIDOC_SESSION,
									FCReqBase::PROJECT_PATH, (const wchar_t*)GetHtreeFindResults()->AtomToStr(rec.m_atmProjPath),
									FCReqBase::HIDOCUMENT_ID, rec.m_lDocId,
									FCReqBase::SESSION_INDEX, rec.m_fliSessionIndex,
									FCReqBase::IS_SELECT_OBJECT, FALSE,
									FCReqBase::SCROLL_TO_FRAME, SCROLL_TO_FRAME::NONE,
									FCReqBase::NONE);
		if (rec.m_recType == FDHF_TIME_LABEL)
		//----- _xZkqqHx_iOjOiKnEiDiJiDhIiDiLiMjPiNpFiCmMiPoKiNiH_xHqqkZx_ -----
		{
			// _xZkqqHx_iOjOiKnEiDiJiDhIiDiLiCkKjCiGjAfDiCmJiCkNiCoJiCoGiCkEiDfIiDeOiDiNiBfLiDiLiBeC_xHqqkZx_
			g_pDoc->PushBackDocRequest(	ID_DREQ_SCROLL_TO_TIME_LABEL,
										FCReqBase::TIME_LABEL_ID, rec.m_lId,
										FCReqBase::NONE);
		} else
		//----- _xZkqqHx_iOjOiKnEiDiJiDhIiDiLiImIiKePiCmMiMjPiNpFiCmMiPoKiNiH_xHqqkZx_ -----
		{
			// _xZkqqHx_iDhKiDgCiDgHiDfIiDhMiDgCiDgHiCnGiDfIiDeOiDiNiBfLiDiLiBeCiMjPiNpFiMiLiJmKiCmNiDhKiDgCiDgHiDfIiDhMiDgCiDgHiCmM_xHqqkZx_
			// _xZkqqHx_jClMiMoDiCmMiDeDiDjDiDfOiBfLiDfKiDgCiDfGiDiHiDjDiCmIiCmMiCmFiBeBjClMjBePiCmMiDfKiDgCiDfGiDiHiDjDiCpAiOfBiPmGiBeC_xHqqkZx_
			g_pDoc->PushBackDocRequest(	ID_DREQ_SCROLL_TO_SPOT,
										FCReqBase::SCROLL_TO_FRAME, SCROLL_TO_FRAME::SCROLL_ANYWAY,
										FCReqBase::SESSION_DIRECTION, SESSION_DIRECTION::FROM_BEFORE_TO_AFTER,
										FCReqBase::IS_SELECT_OBJECT, FALSE,
										FCReqBase::NONE);
		}
		// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjDkPiKpKiClDiClJiCoJiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(ID_DREQ_SYNC_HIVIEW_TO_DOCUMENT);
		// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(ID_DREQ_END);
		// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
		g_pDoc->ProceedDocRequest();
	}
} // CFCHistViewFrame::OnHtreeJumpCurrentFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateHtreeJumpCurrentFindResult
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjHjKjHpAiMjPiNpFiMiLiJmKiCnGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDfCiDhNiDjDiDgIiCmMjHeMiMpIiBeFjGlDiMpIiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateHtreeJumpCurrentFindResult (CCmdUI* pCmdUI)
{
	long lCurSel = GetHtreeFindResults()->GetCurSel();
	pCmdUI->Enable(lCurSel != -1);
} // CFCHistViewFrame::OnUpdateHtreeJumpCurrentFindResult.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewAppendDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiCmJjDgPjIfOiBhGiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewAppendDsm ()
{
	// _xZkqqHx_iMlLiNnNiCmMjHjKjHpAiImKjChFiCpAiLeMjIfOiClHiCoJiBeC_xHqqkZx_
	g_pDoc->PushBackDocRequest(ID_DREQ_PUSH_CURRENT_TO_DSM);
	// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
	g_pDoc->PushBackDocRequest(ID_DREQ_END);
	// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
	g_pDoc->ProceedDocRequest();
} // CFCHistViewFrame::OnViewAppendDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewAppendDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiCmJjDgPjIfOiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewAppendDsm (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate() && g_pDoc->GetIsDocumentOpened());
} // CFCHistViewFrame::OnUpdateViewAppendDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewDsmPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiBhGiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewDsmPanel ()
{
	if (m_wndDsmBookmark->IsWindowVisible())
		m_wndDsmBookmark->SetWindowVisible(FALSE);
	else
		m_wndDsmBookmark->SetWindowVisible(TRUE);
} // CFCHistViewFrame::OnViewDsmPanel.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewDsmPanel
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiBhGiCmM_xHqqkZx_
 *			_xZkqqHx_jHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewDsmPanel (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(m_wndDsmBookmark->IsWindowVisible());
} // CFCHistViewFrame::OnUpdateViewDsmPanel.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewPrevDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_[_xZkqqHx_jBePiCmMjFlGiPjBiImKjChFiCmJjGnPiCoJ_xHqqkZx_]_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewPrevDsm ()
{
	// _xZkqqHx_jFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMiMlLiNnNiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
	if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
	{
		const FCDsmRec* pDsmRec = FFHistViewDoc()->GetDsmRec(lDsmIndex);
		// _xZkqqHx_jBeJjBpAjCiGiCmMjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAiOoGjDlOiBeC_xHqqkZx_
		DWORDSet stObjId;
		g_pView->GetSelectObjectId(stObjId);
		// _xZkqqHx_jBeJjBpAjCiGiCmMiDgFiDeMiDfIiDgHjEmNiImNiCpAiOoGjDlOiBeC_xHqqkZx_
		DWORDVector vTextSelection;
		mdef_const_iterator(DWORDSet, iId);
		m1_for (iId, stObjId)
			g_pDoc->ObjID2Object(*iId)->GetTextSelection(vTextSelection);
		// _xZkqqHx_iDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGiCpAiOoGjDlOiBeC_xHqqkZx_
		DBLRect mmrtClient;
		g_pView->GetClientRectMM(mmrtClient);
		// _xZkqqHx_jAfGiClFiCkC_xHqqkZx_DSM_xZkqqHx_iDiMiDfCiBfLiDgIiCpAiJlMiNoMjAkMiBeC_xHqqkZx_
		FCDsmRec rec(	g_pProject->GetFilePath(),
						g_pDoc->GetDocumentId(),
						g_pDoc->GetNextSessionIndexAbout(),
						stObjId,
						vTextSelection,
						mmrtClient.CenterPoint(),
						g_pDoc->GetCurrentSheetId(),
						g_->lZoom256,
						L"",
						L"",
						L"");
		if (0 < lDsmIndex && rec == *pDsmRec)
		//----- DSM_xZkqqHx_jHjKjHpAiNmFiMoDiCmMiLeMjIfOiCkKiMlLiNnNiImKjChFiCmGjDkPiClGiPoKiNiH_xHqqkZx_ -----
		{
			lDsmIndex--;
			// _xZkqqHx_jFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMiMlLiNnNiImKjChFiCpAiInKjDkOiBeC_xHqqkZx_
			GetDsmBookmarkPanel()->SetCurSel(lDsmIndex);
		}
		// _xZkqqHx_iMlLiNnNiCmM_xHqqkZx_DSM_xZkqqHx_iCpAjFfMiOkGiBeC_xHqqkZx_
		SendMessage(WM_COMMAND, ID_VIEW_CURRENT_DSM, (LPARAM)0);
	}
} // CFCHistViewFrame::OnViewPrevDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewPrevDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_[_xZkqqHx_jBePiCmMjFlGiPjBiImKjChFiCmJjGnPiCoJ_xHqqkZx_]_xZkqqHx_iCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewPrevDsm (CCmdUI* pCmdUI)
{
	if (!FFCanBasicOperate())
	{
		pCmdUI->Enable(FALSE);
	} else
	{
		long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
		if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
		{
			pCmdUI->Enable(TRUE);
		} else
		{
			pCmdUI->Enable(FALSE);
		}
	}
} // CFCHistViewFrame::OnUpdateViewPrevDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewNextDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_[_xZkqqHx_iOjPiCmMjFlGiPjBiImKjChFiCmJjAgJiCnO_xHqqkZx_]_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewNextDsm ()
{
	// _xZkqqHx_jFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMiMlLiNnNiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
	if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize() - 1)
	{
		lDsmIndex++;
		// _xZkqqHx_jFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMiMlLiNnNiImKjChFiCpAiInKjDkOiBeC_xHqqkZx_
		GetDsmBookmarkPanel()->SetCurSel(lDsmIndex);
		// _xZkqqHx_iMlLiNnNiCmM_xHqqkZx_DSM_xZkqqHx_iCpAjFfMiOkGiBeC_xHqqkZx_
		SendMessage(WM_COMMAND, ID_VIEW_CURRENT_DSM, (LPARAM)0);
	}
} // CFCHistViewFrame::OnViewNextDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewNextDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_[_xZkqqHx_iOjPiCmMjFlGiPjBiImKjChFiCmJjAgJiCnO_xHqqkZx_]_xZkqqHx_iCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewNextDsm (CCmdUI* pCmdUI)
{
	if (!FFCanBasicOperate())
	{
		pCmdUI->Enable(FALSE);
	} else
	{
		long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
		if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize() - 1)
		{
			pCmdUI->Enable(TRUE);
		} else
		{
			pCmdUI->Enable(FALSE);
		}
	}
} // CFCHistViewFrame::OnUpdateViewNextDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewCurrentDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDiBiDiCiDiKiBfLiCmMiImKjChFiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewCurrentDsm ()
{
	// _xZkqqHx_jFlGiPjBiDfKiDgCiDfGiDiHiDjDiDhFiDgCiDeOiDhNiBfLiDeOiDhAiDgMiDiLiCmMiMlLiNnNiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
	if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
	{
		const FCDsmRec* pDsmRec = FFHistViewDoc()->GetDsmRec(lDsmIndex);
		// _xZkqqHx_iOhHjCoIiCmMiDhGiDiNiDfHiDeGiDeOiDgHiBeFjHjKjHpAjFlGiPjBiBeFiImKjChFiCnGiInKjDkOiClHiCoJiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(
						ID_DREQ_MOVE_HISTORY_UNTIL_PJ_HIDOC_SESSION,
						FCReqBase::PROJECT_PATH,
						(const wchar_t*)WString(pDsmRec->m_hstrProjectFilePath),
						FCReqBase::HIDOCUMENT_ID, pDsmRec->m_lDocumentId,
						FCReqBase::SESSION_INDEX, pDsmRec->m_fliSessionIndex,
						FCReqBase::IS_SELECT_OBJECT, FALSE,
						FCReqBase::SCROLL_TO_FRAME, SCROLL_TO_FRAME::NONE,
						FCReqBase::NONE);
		// _xZkqqHx_jFjEjFgJiCpAjBeJjBpAiClHiCoJiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(	ID_DREQ_SELECT_OBJECT,
							FCReqBase::OBJECT_ID_SET, &pDsmRec->m_stObjectId,
							FCReqBase::TEXT_SELECTION_VECTOR, &pDsmRec->m_vTextSelection,
							FCReqBase::IS_SELECT_OBJECT, TRUE,
							FCReqBase::SCROLL_TO_FRAME, SCROLL_TO_FRAME::NONE,
							FCReqBase::IS_DRAW_SELECT_MARK, TRUE,
							FCReqBase::NONE);
		// _xZkqqHx_iOhHjCoIiClFiClNiNmAjFfHiCkKjCiGjAfDiCmJiCkNiCoJiCoGiCkEiCmJiDfIiDeOiDiNiBfLiDiLiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(	ID_DREQ_CHANGE_SHEET_ZOOM_CENTER,
							FCReqBase::MM_X, pDsmRec->m_mmptCenter.x,
							FCReqBase::MM_Y, pDsmRec->m_mmptCenter.y,
							FCReqBase::SHEET_ID, pDsmRec->m_stid,
							FCReqBase::VIEW_ZOOM_256, pDsmRec->m_lZoom256,
							FCReqBase::NONE);

		// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjDkPiKpKiClDiClJiCoJiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(ID_DREQ_SYNC_HIVIEW_TO_DOCUMENT);
		// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
		g_pDoc->PushBackDocRequest(ID_DREQ_END);
		// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
		g_pDoc->ProceedDocRequest();
	}
} // CFCHistViewFrame::OnViewCurrentDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewCurrentDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDiBiDiCiDiKiBfLiCmMiImKjChFiCpAjFfMiOkGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpA_xHqqkZx_
 *			_xZkqqHx_jAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewCurrentDsm (CCmdUI* pCmdUI)
{
	if (!FFCanBasicOperate())
	{
		pCmdUI->Enable(FALSE);
	} else
	{
		long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
		if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
		{
			pCmdUI->Enable(TRUE);
		} else
		{
			pCmdUI->Enable(FALSE);
		}
	}
} // CFCHistViewFrame::OnUpdateViewCurrentDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnViewDeleteDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDiBiDiCiDiKiBfLiCpAiNoNiPjMiBhGiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnViewDeleteDsm ()
{
	long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
	if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
		FFHistViewDoc()->EraseDsm(lDsmIndex);
} // CFCHistViewFrame::OnViewDeleteDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateViewDeleteDsm
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiMlLiNnNiCmMjFlGiPjBiDfKiDgCiDfGiDiHiDjDiDiBiDiCiDiKiBfLiCpAiNoNiPjMiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateViewDeleteDsm (CCmdUI* pCmdUI)
{
	if (!FFCanBasicOperate())
	{
		pCmdUI->Enable(FALSE);
	} else
	{
		long lDsmIndex = GetDsmBookmarkPanel()->GetCurSel();
		if (0 <= lDsmIndex && lDsmIndex < FFHistViewDoc()->GetDsmSize())
		{
			pCmdUI->Enable(TRUE);
		} else
		{
			pCmdUI->Enable(FALSE);
		}
	}
} // CFCHistViewFrame::OnUpdateViewDeleteDsm.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTrunk
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiOhNiCpAiPoDjHkMiCmMiKlCiCmJjFmPiNfIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTrunk ()
{
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	if (GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath, &lSelectedDocumentId))
	//----- _xZkqqHx_jFlGiPjBiCkKjBeJjBpAiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// "_xZkqqHx_iClBiCmMiPiIjHjNiCmNiMlDiCmJjGnPiClHiClBiCmGiCmNiCmFiCkLiCnMiClJiCpBiBeCiOmAiNhDiClFiCnMiClHiCkJiBeI_xHqqkZx_"
		if (FFMessageBox(IDS_MSG_NOT_UNDO_PROCESS_IS_CONTINUE, 0, MB_YESNO) == IDYES)
		{
			// _xZkqqHx_iBhFjHjKjHpAiOhNiCpAiPoDjHkMiCmMiKlCiCmJjFmPiNfIiBhG_xHqqkZx_
			g_pDoc->PushBackDocRequest(	ID_DREQ_CHANGE_BRANCH_INTO_TRUNK,
										FCReqBase::PROJECT_PATH, wstrSelectedProjectPath.c_str(),
										FCReqBase::HIDOCUMENT_ID, lSelectedDocumentId,
										FCReqBase::NONE);
			// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjDkPiKpKiClDiClJiCoJiBeC_xHqqkZx_
			PushBackSyncHiviewToDocument();
			// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
			g_pDoc->PushBackDocRequest(ID_DREQ_END);
			// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
			g_pDoc->ProceedDocRequest();
		}
	}
} // CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTrunk.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTrunk
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiOhNiCpAiPoDjHkMiCmMiKlCiCmJjFmPiNfIiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTrunk (CCmdUI* pCmdUI)
{
	BOOL bEnable = FALSE;
  do {
	if (!FFCanEditProject()) break;
	if (GetWndHistoryTree()->GetViewMode() <= FDHT_VMODE_PROJECT) break;
	// _xZkqqHx_iCfBiBeEiDeJiDhJiDiMiBfLiDfGiDiHiDjDjFhDiJmCjEfMiBeC_xHqqkZx_
	if (!FFCanBasicOperate()) break;

//----- 05.09.27 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	// _xZkqqHx_jHjKjHpAiDgNiBfLiDgIjBeJjBpAiCmFiCmIiCkCiPoKiNiHiCmNjFjMiLeBiBeC_xHqqkZx_
	if (!GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath, &lSelectedDocumentId))
		break;
//----- 05.09.27 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	if (!GetDocument()->CanChangeBranchIntoTrunk(wstrSelectedProjectPath,
												lSelectedDocumentId)) break;
	bEnable = TRUE;
  } while (FALSE);
	pCmdUI->Enable(bEnable);
} // CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTrunk.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnRbtnHtreeChangeTrunkIntoBranch
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiClBiClBiCoGiCoIiJlKiCmMjHjKjHpAiCpAiJlKjHkMiCmMiOhNiCmJjFmPiNfIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.04 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnRbtnHtreeChangeTrunkIntoBranch ()
{
	// _xZkqqHx_iNmFiMoDiCmJiDeOiDiKiDgCiDeOiClDiCoKiClNiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	flint fliSelectedSessionIndex;
	if (GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath,
												&lSelectedDocumentId,
												&fliSelectedSessionIndex) &&
		fliSelectedSessionIndex != -1)
	//----- _xZkqqHx_jHjKjHpAjFlGiPjBiCmGiImKjChFiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// "_xZkqqHx_iClBiCmMiPiIjHjNiCmNiMlDiCmJjGnPiClHiClBiCmGiCmNiCmFiCkLiCnMiClJiCpBiBeCiOmAiNhDiClFiCnMiClHiCkJiBeI_xHqqkZx_"
		if (FFMessageBox(IDS_MSG_NOT_UNDO_PROCESS_IS_CONTINUE, 0, MB_YESNO) == IDYES)
		{
			// _xZkqqHx_iBhFiClBiClBiCoGiCoIiJlKiCmMjHjKjHpAiCpAiJlKjHkMiCmMiOhNiCmJjFmPiNfIiBhG_xHqqkZx_
			g_pDoc->PushBackDocRequest(	ID_DREQ_CHANGE_TRUNK_INTO_BRANCH,
										FCReqBase::PROJECT_PATH, wstrSelectedProjectPath.c_str(),
										FCReqBase::HIDOCUMENT_ID, lSelectedDocumentId,
										FCReqBase::SESSION_INDEX, fliSelectedSessionIndex,
										FCReqBase::NONE);
			// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjDkPiKpKiClDiClJiCoJiBeC_xHqqkZx_
			PushBackSyncHiviewToDocument();
			// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
			g_pDoc->PushBackDocRequest(ID_DREQ_END);
			// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
			g_pDoc->ProceedDocRequest();
		}
	}
} // CFCHistViewFrame::OnRbtnHtreeChangeTrunkIntoBranch.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateRbtnHtreeChangeTrunkIntoBranch
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiClBiClBiCoGiCoIiJlKiCmMjHjKjHpAiCpAiJlKjHkMiCmMiOhNiCmJjFmPiNfIiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.04 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateRbtnHtreeChangeTrunkIntoBranch (CCmdUI* pCmdUI)
{
	// _xZkqqHx_iImIiJlKiCmMiCfCiCmCiCmMiPpAiMiPiCmMiIoKiCmCiCmFiCoAiIoKjChGiClFiClNiPoKiNiHiCmNjGlDiMpIiBeC_xHqqkZx_
	// _xZkqqHx_iCfAiBeEiNmFiMoDiCmJiDeOiDiKiDgCiDeOiClDiCoKiClNiPoKiPiKiCkKiMlLiNnNiCmMiImKjChFiCmGiIoKjChGiClFiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
	// _xZkqqHx_iCfBiBeEiDeJiDhJiDiMiBfLiDfGiDiHiDjDjFhDiJmCjEfMiBeC_xHqqkZx_
	// _xZkqqHx_iCfCiBeEjHjKjHpAjFlGiPjBiCkKjFmCiClGiCmEiCkCiCoJiBeBiIlNiCkCiCmNiMlLiNnNiCmMiPoKiPiKiCkKjAnNjCoIiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiHiBeC_xHqqkZx_

	BOOL bEnable = FALSE;
  do {
	if (!FFCanEditProject()) break;
	if (GetWndHistoryTree()->GetViewMode() <= FDHT_VMODE_PROJECT) break;

	// _xZkqqHx_iNmFiMoDiCmJiDeOiDiKiDgCiDeOiClDiCoKiClNiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	flint fliSelectedSessionIndex;
	if (!GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath,
												 &lSelectedDocumentId,
												 &fliSelectedSessionIndex)) break;
	// _xZkqqHx_iCfAiBeEiNmFiMoDiCmJiDeOiDiKiDgCiDeOiClDiCoKiClNiPoKiPiKiCkKiMlLiNnNiCmMiImKjChFiCmGiIoKjChGiClFiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
	if (wstrSelectedProjectPath != GetWndHistoryTree()->GetMarkedProjectPath() ||
		lSelectedDocumentId != GetWndHistoryTree()->GetMarkedDocumentId() ||
		fliSelectedSessionIndex != GetWndHistoryTree()->GetMarkedSessionIndex()) break;
	// _xZkqqHx_iCfBiBeEiDeJiDhJiDiMiBfLiDfGiDiHiDjDjFhDiJmCjEfMiBeC_xHqqkZx_
	if (!FFCanBasicOperate()) break;

	// _xZkqqHx_iCfCiBeEjHjKjHpAjFlGiPjBiCkKjFmCiClGiCmEiCkCiCoJiBeBiIlNiCkCiCmNiMlLiNnNiCmMiPoKiPiKiCkKjAnNjCoIiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
	if (!GetDocument()->CanForkHistory()) break;

	bEnable = TRUE;
  } while (FALSE);
	pCmdUI->Enable(bEnable);
} // CFCHistViewFrame::OnUpdateRbtnHtreeChangeTrunkIntoBranch.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTop
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiOhNiCpAiDhGiDiNiDfHiDeGiDeOiDgHjClMiJlKiCmJjFmPiNfIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.04 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTop ()
{
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	if (GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath, &lSelectedDocumentId))
	//----- _xZkqqHx_jHjKjHpAjFlGiPjBiCkKjBeJjBpAiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// "_xZkqqHx_iClBiCmMiPiIjHjNiCmNiMlDiCmJjGnPiClHiClBiCmGiCmNiCmFiCkLiCnMiClJiCpBiBeCiOmAiNhDiClFiCnMiClHiCkJiBeI_xHqqkZx_"
		if (FFMessageBox(IDS_MSG_NOT_UNDO_PROCESS_IS_CONTINUE, 0, MB_YESNO) == IDYES)
		{
			// _xZkqqHx_iBhFjHjKjHpAiOhNiCpAiDhGiDiNiDfHiDeGiDeOiDgHjClMiJlKiCmJjFmPiNfIiBhG_xHqqkZx_
			g_pDoc->PushBackDocRequest(	ID_DREQ_CHANGE_BRANCH_INTO_TOP,
										FCReqBase::PROJECT_PATH, wstrSelectedProjectPath.c_str(),
										FCReqBase::HIDOCUMENT_ID, lSelectedDocumentId,
										FCReqBase::NONE);
			// _xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiCpAjDkPiKpKiClDiClJiCoJiBeC_xHqqkZx_
			PushBackSyncHiviewToDocument();
			// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
			g_pDoc->PushBackDocRequest(ID_DREQ_END);
			// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
			g_pDoc->ProceedDocRequest();
		}
	}
} // CFCHistViewFrame::OnRbtnHtreeChangeBranchIntoTop.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTop
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjHjKjHpAiOhNiCpAiDhGiDiNiDfHiDeGiDeOiDgHjClMiJlKiCmJjFmPiNfIiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMiPpDjBnEiCpAiOkGiClHiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.04 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTop (CCmdUI* pCmdUI)
{
	BOOL bEnable = FALSE;
  do {
	if (!FFCanEditProject()) break;
	if (GetWndHistoryTree()->GetViewMode() <= FDHT_VMODE_PROJECT) break;
	// _xZkqqHx_iCfBiBeEiDeJiDhJiDiMiBfLiDfGiDiHiDjDjFhDiJmCjEfMiBeC_xHqqkZx_
	if (!FFCanBasicOperate()) break;

//----- 05.09.27 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	WString wstrSelectedProjectPath;
	long lSelectedDocumentId;
	// _xZkqqHx_jHjKjHpAiDgNiBfLiDgIjBeJjBpAiCmFiCmIiCkCiPoKiNiHiCmNjFjMiLeBiBeC_xHqqkZx_
	if (!GetWndHistoryTree()->IsDocumentSelected(&wstrSelectedProjectPath, &lSelectedDocumentId))
		break;
//----- 05.09.27 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	if (!GetDocument()->CanChangeBranchIntoTrunk(wstrSelectedProjectPath,
												lSelectedDocumentId)) break;
	bEnable = TRUE;
  } while (FALSE);
	pCmdUI->Enable(bEnable);
} // CFCHistViewFrame::OnUpdateRbtnHtreeChangeBranchIntoTop.

