// MainFrame.cpp : CFCMainFrame _xZkqqHx_iDeOiDiJiDfIiCmMjDkOiNoMiCmMjCoIiLgAiCpAiNhDiCkCiCnMiClHiBeC_xHqqkZx_
//

#include "stdafx.h"
#include <afxadv.h>				// For CDockState.
#include <afxpriv.h>			// For CControlBarInfo.MFC_xZkqqHx_iDhGiDiJiDeDiDhIiBfLiDgHiCmIiDeOiDiJiDfIiCmIiCmMiCmFiBeBiCkAiCnMiCoIiNeEiCnMiClFiCkNiCmIiCkCiBeC_xHqqkZx_
#include "DynamicDraw.h"		// For FFCanBasicOperate.
#include "HiProject.h"			// For FCHiProject.
#include "DynamicDrawView.h"	// For g_pView.
#include "FoundDoc.h"			// For g_pDoc.
#include "CtlBrHRuler.h"		// For CFCCtlBrHRuler.
#include "CtlBrVRuler.h"		// For CFCCtlBrVRuler.
#include "RegData.h"			// For GetAppWinPos.
#include "OtherAppList.h"		// For m_atpOtherApp.
#include "UtilMisc.h"			// For FFGetCurrentMillisecTime.
#include "UtilCoord.h"			// For mm2lg.etc.
#include "UtilStdLib.h"			// For mdef_iterator.
#include "UtilStr.h"			// For FormatResString.
#include "UtilErr.h"			// For FormMessageBox.
#include "UtilDlg.h"			// For RightByLeftHand.
#include "UtilWin.h"			// For FFPushPendingMessage.
#include "ToolBase.h"			// For IsEditingText.
#include "Env.h"				// For FD_CHIP_BMP_W.etc..
#include "RichText.h"			// For IsTextOver.
#include "UtilObj.h"			// For FFObjTypeToStr.
#include "UtilWin.h"			// For FFJustifyToMonitor.
#include "ObjFigure.h"			// For FCObjFigure.
#include "MolipExport.h"		// For SelfSuspendMolip.
#include "HiCommandTable.h"		// For FD_CMD_XXX.
#include "ObjDynabase.h"			// For FCObjDynabase.
#include "DlgObjLabelList.h"	// For CFCDlgObjLabelList.
#include "FrameWnd.h"			// For FFGetMainWnd().
#include "PursuerText.h"		// For FFGetApp()->GetPopHint().
// 06.10.30 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
#include "TolBrBase.h"			// For CFCTolBrBase.
#include "MainFrame.h"			// This header.

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

//----- Platform SDK_xZkqqHx_iCmM_xHqqkZx_ WinUser.h _xZkqqHx_iCoGiCoI_xHqqkZx_ -----
#define WM_XBUTTONDOWN	0x020B
#define WM_XBUTTONUP	0x020C
#define MK_XBUTTON1		0x0020
#define MK_XBUTTON2		0x0040
/* XButton values are WORD flags */
#define XBUTTON1      0x0001
#define XBUTTON2      0x0002

// CFCMainFrame_xZkqqHx_jFmPjAjEiBeC_xHqqkZx_
CFCMainFrame* g_pFrame = NULL;

// _xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjEiPiJiKpKiJlLjHhAiDeKiDeFiDjDiDfOiBeC_xHqqkZx_
long CFCMainFrame::s_lGlobalCounter = 0;

//----- 04.06.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiDfJiBfLiDiAiDiKiDfIiDgHiDhLiDgCiDeOiDfIiCmMiDfJiBfLiDiAjCgMiIoKjHjHiBeC_xHqqkZx_
//static long s_ZoomDefault[] =
//{
//	10,
//	25,
//	50,
//	60,
//	70,
//	80,
//	90,
//	100,
//	110,
//	120,
//	130,
//	150,
//	200,
//	400,
//	800,
//	1600,
//	3200,
//	6400,
//};
//
//const long s_ZoomDefaultSize = sizeof(s_ZoomDefault) / sizeof(s_ZoomDefault[0]);
//----- 04.06.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//static CFCPursuerText s_wndPursuerText;
//// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCoJiCnMiCmFiCmMiOjOiKnEiBgJiDhOiDiKjFgCiBgKiBeC_xHqqkZx_
//#define FD_TIME_UNTIL_PURSUER_TEXT_SHOW	100
//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/////////////////////////////////////////////////////////////////////////////
// CFCMainFrame

IMPLEMENT_DYNCREATE(CFCMainFrame, CFrameWnd)

BEGIN_MESSAGE_MAP(CFCMainFrame, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCMainFrame)
	ON_WM_CREATE()
	ON_WM_DESTROY()
	ON_WM_QUERYNEWPALETTE()
	ON_WM_PALETTECHANGED()
	ON_WM_SHOWWINDOW()
	ON_WM_CLOSE()
	ON_UPDATE_COMMAND_UI(ID_WINDOW_ANOTHER1, OnUpdateWindowAnother1)
	ON_WM_ACTIVATEAPP()
	ON_COMMAND(ID_OPTION_RIGHT_HANDED, OnOptionRightHanded)
	ON_UPDATE_COMMAND_UI(ID_OPTION_RIGHT_HANDED, OnUpdateOptionRightHanded)
	ON_COMMAND(ID_OPTION_LEFT_HANDED, OnOptionLeftHanded)
	ON_UPDATE_COMMAND_UI(ID_OPTION_LEFT_HANDED, OnUpdateOptionLeftHanded)
	ON_COMMAND(ID_OPTION_AUTO_ALTKEY, OnOptionAutoAltkey)
	ON_UPDATE_COMMAND_UI(ID_OPTION_AUTO_ALTKEY, OnUpdateOptionAutoAltkey)
	ON_COMMAND(ID_VIEW_REDRAW, OnViewRedraw)
	ON_UPDATE_COMMAND_UI(ID_VIEW_REDRAW, OnUpdateViewRedraw)
	ON_COMMAND(ID_OPTION_POP_HINT_ENABLE, OnOptionPopHintEnable)
	ON_UPDATE_COMMAND_UI(ID_OPTION_POP_HINT_ENABLE, OnUpdateOptionPopHintEnable)
	ON_COMMAND(ID_VIEW_OBJ_LABEL_LIST, OnViewObjLabelList)
	ON_UPDATE_COMMAND_UI(ID_VIEW_OBJ_LABEL_LIST, OnUpdateViewObjLabelList)
	ON_WM_TIMER()
	ON_WM_COPYDATA()
	ON_WM_WINDOWPOSCHANGED()
	ON_WM_SETCURSOR()
	ON_COMMAND(ID_OPTION_EXPERT_MODE, OnOptionExpertMode)
	ON_UPDATE_COMMAND_UI(ID_OPTION_EXPERT_MODE, OnUpdateOptionExpertMode)
	//}}AFX_MSG_MAP
	// _xZkqqHx_iDePiDiNiBfLiDgPiDiL_xHqqkZx_ _xZkqqHx_iDhHiDiLiDhG_xHqqkZx_ _xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_
//	ON_WM_WINDOWPOSCHANGING()
	ON_COMMAND(ID_HELP_FINDER, BASE_CLASS::OnHelpFinder)
	ON_COMMAND(ID_HELP, BASE_CLASS::OnHelp)
	ON_COMMAND(ID_CONTEXT_HELP, BASE_CLASS::OnContextHelp)
	ON_COMMAND(ID_DEFAULT_HELP, BASE_CLASS::OnHelpFinder)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_PEN_BRUSH, OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_PEN_BRUSH, OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_OBJ_INFO, OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_OBJ_INFO, OnViewToolbars)
//----- 05.06.29 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_TEXT, OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_TEXT, OnViewToolbars)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_FONT, OnUpdateViewToolbars)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_FONT, OnViewToolbars)
//----- 05.06.29 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	ON_MESSAGE(WM_USER_REGCOLOR_CHANGED, OnUserRegColorChanged)
	ON_MESSAGE(WM_USER_REGFONT_CHANGED, OnUserRegFontChanged)
// 03.09.19 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_MESSAGE(WM_USER_RECENT_FILE_LIST_UPDATED, OnUserRecentFileListUpdated)
	ON_MESSAGE(WM_USER_COPY_WARNING, OnUserCopyWarning)
	ON_COMMAND_RANGE(ID_WINDOW_ANOTHER1, ID_WINDOW_ANOTHEREND, OnWindowAnother)
	ON_MESSAGE(WM_USER_SUSPEND, OnUserSuspend)
	ON_COMMAND_RANGE(ID_PLUGIN_COMMAND_BGN, ID_PLUGIN_COMMAND_END, OnPluginCommand)
	ON_UPDATE_COMMAND_UI_RANGE(ID_PLUGIN_COMMAND_BGN, ID_PLUGIN_COMMAND_END, OnUpdatePluginCommand)
	ON_MESSAGE(WM_USER_OBJ_SELECT_CHANGED, OnUserObjSelectChanged)
	ON_MESSAGE(WM_USER_CMD_SESSION_ENDED, OnUserCmdSessionEnded)
	ON_MESSAGE(WM_USER_COMMAND_CALLED, OnUserCommandCalled)
	ON_MESSAGE(WM_USER_FONT_NOT_FOUND, OnUserFontNotFound)
	ON_MESSAGE(WM_USER_PROCEED_DOC_REQUEST, OnUserProceedDocRequest)
	ON_MESSAGE(WM_USER_REGISTER_PLUGIN_MENU, OnUserRegisterPluginMenu)
	ON_MESSAGE(WM_USER_INVALID_OLE_OBJECT, OnUserInvalidOleObject)
	ON_MESSAGE(WM_USER_TEXT_SELECT_CHANGED, OnUserTextSelectChanged)
	ON_MESSAGE(WM_USER_LAYER_UPDATED, OnUserLayerUpdated)
	ON_MESSAGE(WM_USER_SHEET_CHANGED, OnUserSheetChanged)
	ON_MESSAGE(WM_USER_CURRENT_SHEET_CHANGED, OnUserCurrentSheetChanged)
	ON_MESSAGE(WM_USER_VIEW_SIZING_BAR_VISIBLE, OnUserViewSizingBarVisible)
	ON_MESSAGE(WM_USER_FIRST_EXECUTE, OnUserFirstExecute)
	ON_COMMAND_EX(ID_VIEW_STATUS_BAR, OnViewSizingBar)
	ON_COMMAND_EX(ID_VIEW_TOOLBAR_FUNCTION_KEY, OnViewSizingBar)
	ON_COMMAND_EX(ID_VIEW_CHIP_STORE_VISIBLE, OnViewSizingBar)
	ON_COMMAND_EX(ID_VIEW_HTREE_VISIBLE, OnViewSizingBar)
	ON_UPDATE_COMMAND_UI(ID_VIEW_STATUS_BAR, OnUpdateViewSizingBar)
	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_FUNCTION_KEY, OnUpdateViewSizingBar)
	ON_UPDATE_COMMAND_UI(ID_VIEW_CHIP_STORE_VISIBLE, OnUpdateViewSizingBar)
	ON_UPDATE_COMMAND_UI(ID_VIEW_HTREE_VISIBLE, OnUpdateViewSizingBar)
	ON_MESSAGE(WM_XBUTTONUP, OnXbuttonup)
	ON_UPDATE_COMMAND_UI(ID_INDICATOR_PROP, OnUpdateIndicator)
END_MESSAGE_MAP()

//	ON_MESSAGE(WM_USER_PURSUER_TEXT_NEED_INFO, OnUserPursuerTextNeedInfo)
//	ON_WM_ENTERMENULOOP()
//	ON_WM_EXITMENULOOP()
//	ON_COMMAND(ID_BTN_OBJECT_INFO, OnBtnObjectInfo)
//----- 05.10.24 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_UPDATE_COMMAND_UI(ID_VIEW_TOOLBAR_FUNCTION_KEY, OnUpdateViewToolbars)
//	ON_COMMAND_EX(ID_VIEW_TOOLBAR_FUNCTION_KEY, OnViewToolbars)
//----- 05.10.24 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
// 06.03.04 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_COMMAND(ID_TEST_TEST_TEST0, OnTestTestTest0)


//----------<NOT EXPORT TO VIEWER>-----------
static UINT s_indicators[] =
{
//	ID_SEPARATOR,           // _xZkqqHx_iDfIiDgFiBfLiDfOiDfI_xHqqkZx_ _xZkqqHx_iDiJiDeDiDjD_xHqqkZx_ _xZkqqHx_iDeDiDjDiDfHiDfAiBfLiDfO_xHqqkZx_
	ID_INDICATOR_PROP,
	ID_INDICATOR_KANA,
	ID_INDICATOR_CAPS,
//	ID_INDICATOR_NUM,
//	ID_INDICATOR_SCRL,
	ID_INDICATOR_OVR,
}; // s_indicators.
//----------</NOT EXPORT TO VIEWER>-----------

/////////////////////////////////////////////////////////////////////////////
// CFCMainFrame _xZkqqHx_iDeOiDiJiDfIiCmMiNfMjChK_xHqqkZx_/_xZkqqHx_iPmBjGmF_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::CFCMainFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.24 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCMainFrame::CFCMainFrame ()
{
	// _xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjE_xHqqkZx_ g_pFrame_xZkqqHx_iCmMjAnNjCoIiBeC_xHqqkZx_
	InitGlobal(this);
	// _xZkqqHx_iDiLiBfLiDiJiBfLiCmJ_xHqqkZx_NULL_xZkqqHx_iCpAjAnNjCoIiBeCiClBiCoKiCpAiClFiCmIiCkCiCmG_xHqqkZx_CFCDynamicDrawView::UpdateScrollSize
	// _xZkqqHx_iCmFiDeHiDiJiBfL_xHqqkZx_.
	m_clbrpHRuler = NULL;
	m_clbrpVRuler = NULL;

//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_iDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjGlDiOiLiClHiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
	m_bIgnoreAccelTable = FALSE;
//----------</NOT EXPORT TO VIEWER>-----------
	// ID_RBTN_XX_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiOpDiCkPiOoGiCoIiCmMiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_
	m_hWndOnCmdMsg = NULL;
} // CFCMainFrame::CFCMainFrame.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::~CFCMainFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfO_xHqqkZx_
 *************************************************************************/
CFCMainFrame::~CFCMainFrame ()
{
	// _xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjE_xHqqkZx_ g_pFrame_xZkqqHx_iCmMiNoNiPjMiBeC_xHqqkZx_
	TerminateGlobal();
} // CFCMainFrame::~CFCMainFrame.

/////////////////////////////////////////////////////////////////////////////
// _xZkqqHx_iDiGiBfLiDfFiDfCiBfLiDgI_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	CFCDockState
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgIiDgCiDeMiDjDiDePiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmMiPpDjBnEiCpAiKmHjHjNiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	CDockState_xZkqqHx_iDeOiDiJiDfIiCmMiDfEiDhFiDeOiDiJiDfIiBeC_xHqqkZx_CDockState_xZkqqHx_iCmNiDhNiDiLiDgAiDiCiDgKiDfOiBfLiCmJ_xHqqkZx_
 *			_xZkqqHx_jBmOiJjOiClFiCmEiCkCiCmIiCkCiClNiCnPiBeBiDhNiDiLiDgAiDiCiDgKiDfOiBfLiCmJjBmOiJjOiClDiClJiCoJiBeC_xHqqkZx_
 *			CDockState_xZkqqHx_iCpAiDhNiDiLiDgAiDiCiDgKiDfOiBfLiCmFjHjIjHhAiClHiCoJiCmGiBeBiDgDiBfLiDiLiDgPiBfLiCkK_xHqqkZx_
 *			_xZkqqHx_jBePiJpBiCmMiImKjChFiCmJjFfMiOkGiClDiCoKiCmIiCkJiCmBiClNiCoIiBeBiDiCiDgKiDfOiBfLiCpAiMlIiCoHiClFiClNiPoKiNiHiCmJ_xHqqkZx_
 *			_xZkqqHx_iPmBiCkGiClNiDiCiDgKiDfOiBfLiImKjChFiCmJjFfMiOkGiClDiCoKiCmBiCmPiCmIiClFiClOiCmBiClNiCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
class CFCDockState : public CDockState
{
protected:
typedef CDockState BASE_CLASS;

public:
	void Init ()
	{
		// LoadState_xZkqqHx_iCmFiCmNiBeB_xHqqkZx_right,bottom _xZkqqHx_iCmMjCgMiCmFiDgDiBfLiDiLiDgPiBfLiCpA_xHqqkZx_
		// _xZkqqHx_jAkHiMmAiClHiCoJiBeCiClBiCoKiCpAjGgIiCkOiClNiCnPiBeBiPfMjFkKjBoFiCkLiCmIjCgMiCpAjAnNjCoIiClFiCmEiCkIiCkNiBeC_xHqqkZx_
		m_rectDevice.SetRect(0, 0, 1000000, 1000000);
		m_rectClip.SetRect(0, 0, 1000000, 1000000);
	}
	void MyLoadState (const wchar_t* wcpProfileName)
	{
		LoadState(WStrToTStr(wcpProfileName));
		for (int i = 0; i != m_arrBarInfo.GetSize(); i++)
		{
			CControlBarInfo* pInfo = (CControlBarInfo*)m_arrBarInfo.GetAt(i);
			if (pInfo->m_bFloating)
			//----- _xZkqqHx_iDhEiDiNiBfLiDgFiDeCiDjDiDePiCmMiPoKiNiH_xHqqkZx_ -----
			{
				// _xZkqqHx_iNmFjCoBiCmFiCoAiDfEiDeDiDfJ_xHqqkZx_(30, 30)_xZkqqHx_iCmMiDgDiBfLiDiLiDgPiBfLiCkKiDiCiDgKiDfOiBfLiCmJiOpLiCnMiCoJiCoGiCkEjFoCjAlDiBeC_xHqqkZx_
				pInfo->m_pointPos += FFJustifyToMonitor(CRect(pInfo->m_pointPos, CSize(30, 30)));
			} else
			//----- _xZkqqHx_iDgIiDgCiDeMiDjDiDePiCmMiPoKiNiH_xHqqkZx_ -----
			{
				// _xZkqqHx_iNmFjCoBiCmFiCoAiDfEiDeDiDfJ_xHqqkZx_(30, 30)_xZkqqHx_iCmMiDgDiBfLiDiLiDgPiBfLiCkKiDiCiDgKiDfOiBfLiCmJiOpLiCnMiCoJiCoGiCkEjFoCjAlDiBeC_xHqqkZx_
				pInfo->m_ptMRUFloatPos += FFJustifyToMonitor(CRect(pInfo->m_ptMRUFloatPos, CSize(30, 30)));
			}
		}
	}
	void MySaveState (const wchar_t* wcpProfileName)
	{
		SaveState(WStrToTStr(wcpProfileName));
	}
}; // class CFCDockState.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnCloseDocument
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Document::OnCloseDocument _xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnCloseDocument ()
{
	WString strRegName;
	strRegName.Format(L"%s\\FrameBarState", ::GetLocalAppName());
	MySaveBarState(strRegName);
} // CFCMainFrame::OnCloseDocument.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetStatusBarText
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMjFfMiOkGiCpAiNhDiCkEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpText	:_xZkqqHx_jFfMiOkGiClHiCoJiDgFiDeMiDfIiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *			dwId	:_xZkqqHx_jFfMiOkGiClHiCoJiDeDiDjDiDfHiDfAiBfLiDfOiBfLiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_DWORD(-1)_xZkqqHx_iCpAiOhHjCoIiClFiClN_xHqqkZx_
 *					 _xZkqqHx_iPoKiNiHiCmNjFfHiPiAiDeDiDjDiDfHiDfAiBfLiDfOiBfL_xHqqkZx_(ID_INDICATOR_PROP)_xZkqqHx_iCmJjFfMiOkGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetStatusBarText (const wchar_t* wcpText, DWORD dwId)
{
	// _xZkqqHx_iDeDiDjDiDfHiDfAiBfLiDfOiBfLiCmNiBeB_xHqqkZx_ON_UPDATE_COMMAND_UI(OnUpdateIndicator) _xZkqqHx_iCpA_xHqqkZx_
	// _xZkqqHx_jFeLiClIiOjNiClNiClJiCoJiClBiCmGiBeCiClBiCoKiCpAiClFiCmIiCkCiCmGiBeB_xHqqkZx_
	// _xZkqqHx_jBlMiDeBiDhGiDiKiCpAiDhNiDeFiDfIiDeOiDiKiDgCiDeOiClFiNmEiCnBjGnPiCmBiCmEiCkLiClNiPoKiNiHiCmJiBeB_xHqqkZx_
	// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmJjFlGiOjKiCkKjFfMiOkGiClDiCoKiCmIiCkNiCmIiCoJiBeC_xHqqkZx_
	if (dwId == DWORD(-1))
		dwId = ID_INDICATOR_PROP;
	int nIndex = m_wndStatusBar.CommandToIndex(dwId);
	m_wndStatusBar.SetPaneText(nIndex, WStrToTStr(wcpText));
} // CFCMainFrame::SetStatusBarText.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::IsOvrMode
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgFiDeMiDfIiDgHiCmMjBhNjDpMiDiCiBfLiDgIiCpAiOoGjDlOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	:_xZkqqHx_jBhNjDpMiDiCiBfLiDgI_xHqqkZx_.
 *			FALSE	:_xZkqqHx_iPoDiPjBiCkLiDiCiBfLiDgI_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::IsOvrMode () const
{
	return m_bIsOvrMode;
} // CFCMainFrame::IsOvrMode.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetOvrMode
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgFiDeMiDfIiDgHiCmMjBhNjDpMiDiCiBfLiDgIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIsOvr	: TRUE(_xZkqqHx_jBhNjDpMiDiCiBfLiDgI_xHqqkZx_),(FALSE)_xZkqqHx_iPoDiPjBiCkLiDiCiBfLiDgI_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetOvrMode (BOOL bIsOvr)
{
	if (m_bIsOvrMode == bIsOvr) return;
	m_bIsOvrMode = bIsOvr;

	WString strOvr;
	strOvr.LoadString(ID_INDICATOR_OVR);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	int nIndex = m_wndStatusBar.CommandToIndex(ID_INDICATOR_OVR);
//	if (m_bIsOvrMode)
//		m_wndStatusBar.SetPaneText(nIndex, WStrToTStr(strOvr));
//	else
//		m_wndStatusBar.SetPaneText(nIndex, _T(""));
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (m_bIsOvrMode)
		SetStatusBarText(strOvr, ID_INDICATOR_OVR);
	else
		SetStatusBarText(L"", ID_INDICATOR_OVR);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::SetOvrMode.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::HRuler
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAiFjFlNiDiLiBfLiDiJiBfLiCmMiDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAiFjFlNiDiLiBfLiDiJiBfLiDeJiDhFiDfHiDeGiDeOiDgH_xHqqkZx_
 *************************************************************************/
CFCCtlBrHRuler* CFCMainFrame::HRuler () const
{
	return m_clbrpHRuler;
} // CFCMainFrame::HRuler.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::VRuler
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAiCjClMiDiLiBfLiDiJiBfLiCmMiDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAiCjClMiDiLiBfLiDiJiBfLiDeJiDhFiDfHiDeGiDeOiDgH_xHqqkZx_
 *************************************************************************/
CFCCtlBrVRuler* CFCMainFrame::VRuler () const
{
	return m_clbrpVRuler;
} // CFCMainFrame::VRuler.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::GetUserAccelerator
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.05.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
HACCEL CFCMainFrame::GetUserAccelerator () const
{
	return m_hUserAccelerator;
} // CFCMainFrame::GetUserAccelerator.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetRulerMMKVisible
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjAnNjCoIiClHiCoJ_xHqqkZx_.
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nIndex		: _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMiDeDiDjDiDgGiDgCiDeOiDfI_xHqqkZx_
 *			bIsVisible	TRUE	: _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAjFfMiOkG_xHqqkZx_
 *						FALSE	: _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAjEpBjFfMiOkG_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetRulerMMKVisible (short nIndex, BOOL bIsVisible)
{
	if (m_clbrpHRuler == NULL || m_clbrpVRuler == NULL) return;
	//----- _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAjFfMiOkGiBeFjEpBjFfMiOkGiCmJ_xHqqkZx_ -----
	m_clbrpHRuler->SetRulerMMKVisible(nIndex, bIsVisible);
	m_clbrpVRuler->SetRulerMMKVisible(nIndex, bIsVisible);
	ShowRulerMMKText(NULL);	// _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMjCgMiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCnGjFfMiOkG_xHqqkZx_.
} // CFCMainFrame::SetRulerMMKVisible.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::MoveRulerMMK
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_0_xZkqqHx_iCmGiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nIndex		:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *			mmpt		:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAjFfMiOkGiClHiCoJiNmAjFfHiCpAiOhHjCoIiBeC_xHqqkZx_
 *			tcpAddText	:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiPoOjFpBiCmMiMoDiCoLiCmJjFfMiOkGiClHiCoJjFlGiOjKjHpBiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.08.20 Fukushiro M. tcpAddTex _xZkqqHx_iCpAjCmHiJmBiBeC_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::MoveRulerMMK (short nIndex, const DBLPoint& mmpt,
								const wchar_t* tcpAddText)
{
	if (m_clbrpHRuler == NULL || m_clbrpVRuler == NULL) return;

	m_mmptaRulerMMK[nIndex] = mmpt;
	//----- _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAiOhHjCoIiNmAjFfHiPoDiCnGiInKjDkOiClDiClJiCoJ_xHqqkZx_ -----
	m_clbrpHRuler->MoveRulerMMK(nIndex, mm2lg(mmpt.x));
	m_clbrpVRuler->MoveRulerMMK(nIndex, mm2lg(mmpt.y));
	// _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMjCgMiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCnGjFfMiOkGiBeC_xHqqkZx_
	ShowRulerMMKText(tcpAddText);
} // CFCMainFrame::MoveRulerMMK.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::MoveRulerMMK
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_0_xZkqqHx_iCmGiDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_1_xZkqqHx_iCmGiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	mmpt0		:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_0_xZkqqHx_iCpAjFfMiOkGiClHiCoJiNmAjFfHiCpAiOhHjCoIiBeC_xHqqkZx_
 *			mmpt1		:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_1_xZkqqHx_iCpAjFfMiOkGiClHiCoJiNmAjFfHiCpAiOhHjCoIiBeC_xHqqkZx_
 *			tcpAddText	:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiPoOjFpBiCmMiMoDiCoLiCmJjFfMiOkGiClHiCoJjFlGiOjKjHpBiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.08.20 Fukushiro M. tcpAddTex _xZkqqHx_iCpAjCmHiJmBiBeC_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::MoveRulerMMK (const DBLPoint& mmpt0, const DBLPoint& mmpt1,
							const wchar_t* tcpAddText)
{
	if (m_clbrpHRuler == NULL || m_clbrpVRuler == NULL) return;

	m_mmptaRulerMMK[0] = mmpt0;
	m_mmptaRulerMMK[1] = mmpt1;
	//----- _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCpAiOhHjCoIiNmAjFfHiPoDiCnGiInKjDkOiClDiClJiCoJ_xHqqkZx_ -----
	m_clbrpHRuler->MoveRulerMMK(0, mm2lg(mmpt0.x));
	m_clbrpVRuler->MoveRulerMMK(0, mm2lg(mmpt0.y));
	m_clbrpHRuler->MoveRulerMMK(1, mm2lg(mmpt1.x));
	m_clbrpVRuler->MoveRulerMMK(1, mm2lg(mmpt1.y));
	// _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMjCgMiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCnGjFfMiOkGiBeC_xHqqkZx_
	ShowRulerMMKText(tcpAddText);
} // CFCMainFrame::MoveRulerMMK.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::AddAutoAltWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Frame_xZkqqHx_iImIiKePiCmFiBeBiOkJjDkOiCgAiCgLiChDiCpAjHeMiMpIiCmJiClHiCoJiDeFiDeCiDjDiDgIiDeFiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hWnd	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.03.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::AddAutoAltWindow (HWND hWnd)
{
	m_stAutoAltWindow.insert(hWnd);
} // CFCMainFrame::AddAutoAltWindow.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::DeleteAutoAltWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAnNjCoIiClDiCoKiCmEiCkCiCoJiOkJjDkOiCgAiCgLiChDiCpAjHeMiMpIiCmJiClHiCoJiDeFiDeCiDjDiDgIiDeFiCmMjDgPjIfOiCpAjGjFiPmBiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hWnd	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::DeleteAutoAltWindow (HWND hWnd)
{
	m_stAutoAltWindow.erase(hWnd);
} // CFCMainFrame::DeleteAutoAltWindow.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::IsAutoAltWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOkJjDkO_xHqqkZx_ALT_xZkqqHx_iCmMjBmOiPnLiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hwnd	:_xZkqqHx_jClCiCnHiCoJiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iOkJjDkO_xHqqkZx_ALT_xZkqqHx_iCmMjBmOiPnLiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::IsAutoAltWindow (HWND hWnd) const
{
	return (hWnd == g_pView->m_hWnd ||
			hWnd == m_hWnd ||
			m_stAutoAltWindow.find(hWnd) != m_stAutoAltWindow.end());
} // CFCMainFrame::IsAutoAltWindow.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetIgnoreAccelTable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjGlDiMpIiCmJiClHiCoJiCkJiCmHiCkEiCkJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIgnore	:_xZkqqHx_jGlDiOiLiClHiCoJiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBiClLiCkEiCmFiCmIiCkCiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.08.16 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetIgnoreAccelTable (BOOL bIgnore)
{
	// _xZkqqHx_iDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjGlDiOiLiClHiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
	m_bIgnoreAccelTable = bIgnore;
} // CFCMainFrame::SetIgnoreAccelTable.

//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateSelected
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBeJjBpAjCiGiCmMjFjEjFgJiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.01.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::OnUpdateSelected ()
//{
////	TRACE(_T("CFCMainFrame::OnUpdateSelected\r\n"));
//
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDeJiDhFiDfHiDeGiDeOiDgHiCkKjBlGiNnNiClFiCmIiCkCiCmIiCoHiCmOjFjMiLeBiBeCiDeBiDhGiDiKiPeJjHlJiOjOjDjJiCmJiBeCiBeC_xHqqkZx_
//	if (!::IsWindow(m_hWnd)) return;
//
//	// FTObjectType m_nSelTypeObj;
//	// DWORD m_dwSelMolipCount;
//	// DBLRect m_mmrtSelFrame;
//	// double m_dSelObjAngle;
//	// double m_dSelTextAngle;
//	// DWORDVector m_vSelLinkIn;
//	// DWORDVector m_vSelLinkOut;
//	// DWORDSet m_stSelWarnLinkIn;
//	// DWORDSet m_stSelWarnLinkOut;
//	// DWORD m_dwSelLayerIdx;
//	// DWORDVector m_vSelWarning;
//
//	m_nSelTypeObj = FDOJ_NONE;
//	m_dwSelMolipCount = DWORD(-1);
//	m_mmrtSelFrame.SetRect(0, 0, -1, -1);
//	m_dSelObjAngle = 10.0;
//	m_dSelTextAngle = 10.0;
//	m_vSelLinkIn.clear();
//	m_vSelLinkOut.clear();
//	m_stSelWarnLinkIn.clear();
//	m_stSelWarnLinkOut.clear();
//	m_dwSelLayerIdx = DWORD(-1);
//	m_vSelWarning.clear();
//
//do {
//	if (g_pView == NULL) break;
//	const ObjDynabaseVector& vSelObj = g_pView->GetCurrentTool()->GetSelectLocalObjVector();
//	if (vSelObj.empty()) break;
//	ObjDynabaseVector::const_iterator iObj;
//
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDfOiDeDiDhG_xHqqkZx_ -----
//	iObj = vSelObj.begin();
//	m_nSelTypeObj = (*iObj)->Type();
//	for (iObj++; iObj != vSelObj.end(); iObj++)
//	{
//		if (m_nSelTypeObj != (*iObj)->Type())
//		{
//			m_nSelTypeObj = FDOJ_NONE;
//			break;
//		}
//	}
//
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmM_xHqqkZx_MOLIP_xZkqqHx_jAjE_xHqqkZx_ -----
//	iObj = vSelObj.begin();
//	m_dwSelMolipCount = (*iObj)->GetMolipCount();
//	m_dwSelMolipCount++;
//	for (iObj++; iObj != vSelObj.end(); iObj++)
//	{
//		DWORD dwMolipCount = (*iObj)->GetMolipCount();
//		dwMolipCount++;
//		if (m_dwSelMolipCount != dwMolipCount)
//		{
//			m_dwSelMolipCount = DWORD(-1);
//			break;
//		}
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDhEiDiMiBfLiDiA_xHqqkZx_ -----
//	iObj = vSelObj.begin();
//	m_mmrtSelFrame = (*iObj)->GetResizeFrame();
//	for (iObj++; iObj != vSelObj.end(); iObj++)
//	{
//		m_mmrtSelFrame |= (*iObj)->GetResizeFrame();
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiJpBjDfNiKhAjDhI_xHqqkZx_ -----
//	iObj = vSelObj.begin();
//	m_dSelObjAngle = (*iObj)->GetAngle();
//	for (iObj++; iObj != vSelObj.end(); iObj++)
//	{
//		if (m_dSelObjAngle != (*iObj)->GetAngle())
//		{
//			m_dSelObjAngle = 10.0;
//			break;
//		}
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDgFiDeMiDfIiDgHiJpBjDfNiKhAjDhI_xHqqkZx_ -----
//	for (iObj = vSelObj.begin(); iObj != vSelObj.end(); iObj++)
//	{
//		// _xZkqqHx_iDgFiDeMiDfIiDgHiCpAiOjNiClNiCmIiCkCjFjEjFgJiCmIiCoHiCmOiBeBiOjPiCmMiDiLiBfLiDhGiCnGiBeC_xHqqkZx_
//		if (!(*iObj)->IsKindOf(FDOJ_FIGURE)) continue;
//		FCObjFigure* pFig = (FCObjFigure*)*iObj;
//		// _xZkqqHx_iDgFiDeMiDfIiDgHiCpAiOjNiCmCiNmFiPiJiCmMjFjEjFgJiCmIiCoHiCmOiBeBiKhAjDhIiCpAiLeMjIfOiBeC_xHqqkZx_
//		if (m_dSelTextAngle == 10.0)
//		{
//			m_dSelTextAngle = pFig->GetTextAngle();
//			continue;
//		}
//		// _xZkqqHx_iDgFiDeMiDfIiDgHiKhAjDhIiCkKiInJiCmIiCoKiCmOiBeBiDiLiBfLiDhGiPeJjHlJiBeC_xHqqkZx_
//		if (m_dSelTextAngle != pFig->GetTextAngle())
//		{
//			m_dSelTextAngle = 10.0;
//			break;
//		}
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCnGiCmMiDiKiDjDiDeOiDeDiDjD_xHqqkZx_ -----
//	DWORDSet stSelObj;
//	for (iObj = vSelObj.begin(); iObj != vSelObj.end(); iObj++)
//		stSelObj.insert((*iObj)->GetObjID());
//	for (iObj = vSelObj.begin(); iObj != vSelObj.end(); iObj++)
//	{
//		FCMolipRec rec;
//		rec.dwObjID = (*iObj)->GetObjID();
//		rec.lMolipId = -1;
//		DWORDSet stAffected;
//		g_pDoc->LinkManager()->GetAffectedByTo(stAffected, rec);
//		DWORDSet::iterator iRec;
//		for (iRec = stAffected.begin(); iRec != stAffected.end(); iRec++)
//		{
//			const FCLinkRec* pRec = g_pDoc->LinkManager()->LinkIDtoLinkRec(*iRec);
//			if (stSelObj.find(pRec->m_mlpFrom.dwObjID) == stSelObj.end())
//				m_vSelLinkIn.push_back(*iRec);
//		}
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCkJiCoHiCmMiDiKiDjDiDeOiDeBiDeFiDgH_xHqqkZx_ -----
//	for (iObj = vSelObj.begin(); iObj != vSelObj.end(); iObj++)
//	{
//		FCMolipRec rec;
//		rec.dwObjID = (*iObj)->GetObjID();
//		rec.lMolipId = -1;
//		DWORDSet stAffected;
//		g_pDoc->LinkManager()->GetAffectedByFrom(stAffected, rec);
//		DWORDSet::iterator iRec;
//		for (iRec = stAffected.begin(); iRec != stAffected.end(); iRec++)
//		{
//			const FCLinkRec* pRec = g_pDoc->LinkManager()->LinkIDtoLinkRec(*iRec);
//			if (stSelObj.find(pRec->m_mlpTo.dwObjID) == stSelObj.end())
//				m_vSelLinkOut.push_back(*iRec);
//		}
//	}
//	//----- _xZkqqHx_iIoBiCkEiDfGiBfLiDgHiCkJiCoHiCmMiDiKiDjDiDeOiDeDiDjDiCmMiMhIiNjA_xHqqkZx_ -----
//	DWORDVector::iterator iRec;
//	for (iRec = m_vSelLinkIn.begin(); iRec != m_vSelLinkIn.end(); iRec++)
//	{
//		const FCLinkRec* pRec = g_pDoc->LinkManager()->LinkIDtoLinkRec(*iRec);
//		if (g_pDoc->ObjDynabaseToLZOrder(g_pDoc->ObjID2Object(pRec->m_mlpFrom.dwObjID)).
//										dwLayerIdx == DWORD(-1))
//		{
//			m_stSelWarnLinkIn.insert(*iRec);
//		}
//	}
//	//----- _xZkqqHx_iIoBiCkEiDfGiBfLiDgHiCnGiCmMiDiKiDjDiDeOiDeBiDeFiDgHiCmMiMhIiNjA_xHqqkZx_ -----
//	for (iRec = m_vSelLinkOut.begin(); iRec != m_vSelLinkOut.end(); iRec++)
//	{
//		const FCLinkRec* pRec = g_pDoc->LinkManager()->LinkIDtoLinkRec(*iRec);
//		if (g_pDoc->ObjDynabaseToLZOrder(g_pDoc->ObjID2Object(pRec->m_mlpTo.dwObjID)).
//										dwLayerIdx == DWORD(-1))
//		{
//			m_stSelWarnLinkOut.insert(*iRec);
//		}
//	}
//	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDiMiDeDiDiEiBfL_xHqqkZx_ -----
//	iObj = vSelObj.begin();
//	m_dwSelLayerIdx = g_pDoc->ObjDynabaseToLZOrder(*iObj).dwLayerIdx;
//	for (iObj++; iObj != vSelObj.end(); iObj++)
//	{
//		if (m_dwSelLayerIdx != g_pDoc->ObjDynabaseToLZOrder(*iObj).dwLayerIdx)
//		{
//			m_dwSelLayerIdx = DWORD(-1);
//			break;
//		}
//	}
//	//----- _xZkqqHx_iDgFiDeMiDfIiDgHiDeJiBfLiDgPiBfLiCmMiMhIiNjA_xHqqkZx_ -----
//	BOOL bTextWarn = FALSE;
//	for (iObj = vSelObj.begin(); !bTextWarn && iObj != vSelObj.end(); iObj++)
//	{
//		// _xZkqqHx_jFjEjFgJjCiGiCmMiBeB_xHqqkZx_OBJ_FIGURE_xZkqqHx_jFjEjFgJiCpAjBfDiCmEiOoGiCoIiPgPiClHiBeC_xHqqkZx_
//		ObjDynabaseVector vFigObj;
//		(*iObj)->GetKindOfMembers(vFigObj, FDOJ_FIGURE);
//		ObjDynabaseVector::const_iterator iFig;
//		for (iFig = vFigObj.begin(); !bTextWarn && iFig != vFigObj.end(); iFig++)
//		{
//			const FCObjFigure* pFig = (const FCObjFigure*)*iFig;
//			if (pFig->GetRichText() != NULL)
//			{
//				if (pFig->GetRichText()->IsTextOver())
//					bTextWarn = TRUE;
//			}
//		}
//	}
//	if (bTextWarn)
//		m_vSelWarning.push_back(0);
//	//----- _xZkqqHx_iIoBiCkEiDfGiBfLiDgHiCnGiCmMiDiKiDjDiDeOiDeDiDjDiBeFiDeBiDeFiDgHiCmMiMhIiNjA_xHqqkZx_ -----
//	if (!m_stSelWarnLinkIn.empty() || !m_stSelWarnLinkOut.empty())
//		m_vSelWarning.push_back(1);
//} while (FALSE);
//
//	// _xZkqqHx_jFjEjFgJiPoOjFpBiDgDiBfLiDiLiDgPiBfLjFfMiOkGjHhAjFlGiOjKjHpBiCpAiOoGjDlOiBeC_xHqqkZx_
//	long lArgsSz = 0;
//	WString strArgs;
//	AddObjInfoStr(lArgsSz, strArgs);
//	// _xZkqqHx_jBeJjBpAjFmPiNfIiCpAjFjEjFgJiPoOjFpBiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
//	m_tolBrObjInfo.ObjSelectNotify(lArgsSz, strArgs, m_vSelWarning.size(), m_vSelWarning.begin());
//
////----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//////----------<NOT EXPORT TO VIEWER>-----------
////	// _xZkqqHx_jBeJjBpAjFmPiNfIiCpAiDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
////	if (IsUseColorTableBar())
////		m_tolBrPenBrush.ObjSelectNotify();
//////----------</NOT EXPORT TO VIEWER>-----------
////----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//
//} // CFCMainFrame::OnUpdateSelected.
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::InitContents
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iPiJiKpKiJlLiPiIjHjNiCpAiNhDiCkEiBeC_xHqqkZx_FoundDoc::OnNewDocument,OnOpenDocument_xZkqqHx_iCkJiCoH_xHqqkZx_
 *			_xZkqqHx_iOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.03.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::InitContents ()
{
	if (!::IsWindow(GetSafeHwnd())) return;

	// _xZkqqHx_iClBiClBiCmF_xHqqkZx_ Invalidate() _xZkqqHx_iCpAiOmAiNhDiClHiCoJiCmGiBeBiDhCiDiFiBfLiCmJiCoAiNmEjFgAiJoGiCkKjDpMiCoJiBeC_xHqqkZx_
	// HistoricDraw _xZkqqHx_iCpAiLeOjDkOiOjOiCmJiBeBjGlDjBoIiDgIiDeMiDiFiDiBiDjDiDgHiCpAiNoMjAkMiBjFjDmHiCnNiNjOiCnOiCmMiCmJ_xHqqkZx_
	// _xZkqqHx_iOjOiKnEiCkKiCkJiCkJiCoJiCkKiBeBiClBiClBiCmF_xHqqkZx_ Invalidate() _xZkqqHx_iCkKiCkAiCoJiCmGiBeBjGlDjBoIiDgIiDeMiDiFiDiBiDjDiDgHiCpA_xHqqkZx_
	// _xZkqqHx_jDmHiCnNiNjOiCpBiClOiDfOiDeDiDhOiDjDiDePiCmFiNmEjFgAiJoGiCkKiCkJiCkJiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
//----- 03.08.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDhEiDiMiBfLiDiAiCpAiNmEjFgAiJoGiBeCiDgAiDgCiDhGiDfIiDgHiDeBiNmEjFgAiJoGjHhAiBeC_xHqqkZx_
//	Invalidate();
//----- 03.08.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLjHnOiCmMiPiJiKpKiJlLjHhAiBeC_xHqqkZx_
	PostMessage(WM_USER_OBJ_SELECT_CHANGED);
//----------<NOT EXPORT TO VIEWER>-----------
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCpAiNfIjAfGiBeC_xHqqkZx_
//	if (IsUseColorTableBar())
//		m_tolBrPenBrush.UpdateItem();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
	PostMessageToControlBars(WM_USER_INIT_CONTENTS);
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----------</NOT EXPORT TO VIEWER>-----------
} // CFCMainFrame::InitContents.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::DeleteContents
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Document::DeleteContents_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.03.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::DeleteContents ()
{
	if (!::IsWindow(GetSafeHwnd())) return;
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLjHnOiCmMiPiJiKpKiJlLjHhAiBeC_xHqqkZx_
	PostMessage(WM_USER_OBJ_SELECT_CHANGED);
//----------<NOT EXPORT TO VIEWER>-----------
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCpAiNfIjAfGiBeC_xHqqkZx_
//	if (IsUseColorTableBar())
//		m_tolBrPenBrush.UpdateItem();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
	PostMessageToControlBars(WM_USER_INIT_CONTENTS);
//----- 05.07.02 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----------</NOT EXPORT TO VIEWER>-----------
} // CFCMainFrame::DeleteContents.

//----- 06.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SendDataMessage
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiBfLiDfOiCpAjElKiCmBiClNiDiBiDgCiDfKiBfLiDfHiCpAjBjHjFhEiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hWnd		:_xZkqqHx_iDiBiDgCiDfKiBfLiDfHjBjHjFhEjAoGiCmM_xHqqkZx_HWND_xZkqqHx_iCpAiOhHjCoIiBeCjFmKiDeBiDhGiDiKiCmMiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
// *						 _xZkqqHx_iCmFiCoAjBjHjFhEiJmCjEfMiBeC_xHqqkZx_
// *			dwMessage	:_xZkqqHx_jBjHjFhEiClHiCoJiDiBiDgCiDfKiBfLiDfHiCpAiOhHjCoIiBeC_xHqqkZx_
// *			dwDataSz	:_xZkqqHx_jBjHjFhEiClHiCoJiDgGiBfLiDfOiCmMiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
// *			pData		:_xZkqqHx_jBjHjFhEiClHiCoJiDgGiBfLiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.01.23 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::SendDataMessage (HWND hWnd, DWORD dwMessage, DWORD dwDataSz, void* pData)
//{
//	COPYDATASTRUCT gcds;
//	gcds.dwData = dwMessage;
//	gcds.cbData = dwDataSz;
//	gcds.lpData = pData;
//	::SendMessage(hWnd, WM_COPYDATA, (WPARAM)m_hWnd, (LPARAM)&gcds);
//} // CFCMainFrame::SendDataMessage.
//----- 06.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.08.07 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ (_xZkqqHx_iIpDiNpMiDhGiDiMiDhCiDiFiBfLiOjOiCmJiDgAiDgCiDhGiDfIiDgHiDeBjBiAiNoMiClHiCoJiCmGjHiOiClPiCoJ_xHqqkZx_)-----
/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnBeginPrintPreview
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiMiDhCiDiFiBfLiKeKiOgOiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.08.07 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnBeginPrintPreview ()
{
	if (HRuler() != NULL) HRuler()->ShowWindow(SW_HIDE);
	if (VRuler() != NULL) VRuler()->ShowWindow(SW_HIDE);
} // CFCMainFrame::OnBeginPrintPreview.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnEndPrintPreview
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiMiDhCiDiFiBfLiPeJjHlJiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.08.07 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnEndPrintPreview ()
{
	if (HRuler() != NULL) HRuler()->ShowWindow(SW_SHOW);
	if (VRuler() != NULL) VRuler()->ShowWindow(SW_SHOW);
} // CFCMainFrame::OnEndPrintPreview.
//----- 02.08.07 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ (_xZkqqHx_iIpDiNpMiDhGiDiMiDhCiDiFiBfLiOjOiCmJiDgAiDgCiDhGiDfIiDgHiDeBjBiAiNoMiClHiCoJiCmGjHiOiClPiCoJ_xHqqkZx_)-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetCurCursor
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iMlLiNnNiCmMiDeKiBfLiDfMiDiLiCpAjAnNjCoIiClFiBeBjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	dwId	:_xZkqqHx_iDeKiBfLiDfMiDiLjDgPjIfOiCpAiOkPjFmKiClHiCoJ_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			dvrt	:_xZkqqHx_iClBiCmMiDeKiBfLiDfMiDiLiCmJjFmPiNfIiClDiCoKiCoJiLoJiMgAiCpAiOhHjCoIiBeC_xHqqkZx_
 *			hCursor	:_xZkqqHx_iMlLiNnNiCmMiDeKiBfLiDfMiDiLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iCmGiCoIiCkAiCkGiClIiBeBiOhHjCoIiClDiCoKiClNiDeKiBfLiDfMiDiLiCpAjAnNjCoIiClHiCoJiBeCjDkPiOjOiCmJiOhHjCoIiClDiCoKiClN_xHqqkZx_
 *			_xZkqqHx_iLoJiMgAjCiGiCmMiDeKiBfLiDfMiDiLiCmGiClFiCmEjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetCurCursor (HWND hWnd, HCURSOR hCursor)
{
	if (hCursor == NULL)
		hCursor = AfxGetApp()->LoadStandardCursor(IDC_ARROW);
	m_mpWndToCursor[hWnd] = hCursor;
	::SetCursor(hCursor);
} // CFCMainFrame::SetCurCursor.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetOnCmdMsgWnd
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnCmdMsg_xZkqqHx_iCpAiOmAiNhDiClHiCoJjAoGiCmMiDeFiDeCiDjDiDgIiDeFiCpAjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hWnd	:_xZkqqHx_jDgPjIfOjAoGiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jDgPjIfOiClDiCoKiClNiDeFiDeCiDjDiDgIiDeFiCmNiBeB_xHqqkZx_MainFrame_xZkqqHx_iCmFiPiIjHjNiCmFiCkLiCmIiCkJiCmBiClNiDfCiDhNiDjDiDgIiCmJ_xHqqkZx_
 *			_xZkqqHx_iKnGiClFiCmEiBeB_xHqqkZx_OnCmdMsg_xZkqqHx_iKnGjAjEiCkKiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::SetOnCmdMsgWnd (HWND hWnd)
{
	m_hWndOnCmdMsg = hWnd;
} // CFCMainFrame::SetOnCmdMsgWnd.

//----- 06.02.25 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::ResetOnCmdMsgWnd
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnCmdMsg_xZkqqHx_iCpAiOmAiNhDiClHiCoJjAoGiCmMiDeFiDeCiDjDiDgIiDeFiDiKiDfIiDgHiCkJiCoHjDgPjIfOiCpAiJpAiPjMiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pWnd	:_xZkqqHx_jDgPjIfOiJpAiPjMiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::ResetOnCmdMsgWnd (CWnd* pWnd)
//{
//	m_stOnCmdMsgWnd.erase(pWnd);
//} // CFCMainFrame::ResetOnCmdMsgWnd.
//----- 06.02.25 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::RegisterScrollWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCpAiOpDiCkPiOoGiCoJiDeFiDeCiDjDiDgIiDeFiCpAjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hwnd	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jDgPjIfOiClDiCoKiClNiDeFiDeCiDjDiDgIiDeFiCmNiBeBiDhNiDeFiDfIiDhKiDeDiBfLiDiLjBiAiNoMiCmFiDfIiDeOiDiNiBfLiDiLiCkKiOhHiOkG_xHqqkZx_
 *			_xZkqqHx_iClDiCoKiClNiPoKiNiHiBeBiDhNiDeFiDfIiCkKiDeFiDeCiDjDiDgIiDeFiPoDiCmJiCkAiCoKiCmOiBeBiDeBiDeOiDgFiDeCiDhFiCmIiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
 *			_xZkqqHx_iCoGiCoIiCoAjHeEjAoGiClFiCmEiDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCpAiOpDiCkPiOoGiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::RegisterScrollWindow (HWND hwnd)
{
	m_stWndGetScroll.insert(hwnd);
} // CFCMainFrame::RegisterScrollWindow.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::UnregisterScrollWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCpAiOpDiCkPiOoGiCoJiDeFiDeCiDjDiDgIiDeFiCmMjDgPjIfOiCpAjGjFiPmBiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hwnd	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jDgPjIfOiClDiCoKiClNiDeFiDeCiDjDiDgIiDeFiCmNiBeBiDhNiDeFiDfIiDhKiDeDiBfLiDiLjBiAiNoMiCmFiDfIiDeOiDiNiBfLiDiLiCkKiOhHiOkG_xHqqkZx_
 *			_xZkqqHx_iClDiCoKiClNiPoKiNiHiBeBiDhNiDeFiDfIiCkKiDeFiDeCiDjDiDgIiDeFiPoDiCmJiCkAiCoKiCmOiBeBiDeBiDeOiDgFiDeCiDhFiCmIiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
 *			_xZkqqHx_iCoGiCoIiCoAjHeEjAoGiClFiCmEiDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCpAiOpDiCkPiOoGiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.03.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::UnregisterScrollWindow (HWND hwnd)
{
	m_stWndGetScroll.erase(hwnd);
} // CFCMainFrame::UnregisterScrollWindow.

//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetPursuerTextOn
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCpAiDeJiDjDiCmJiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	hWnd	:_xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCkKiPoOjFpBiCpAjFfMiOkGiClHiCoJ_xHqqkZx_
// *					 _xZkqqHx_jBmOiPnLiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeCiClBiCmMiDeFiDeCiDjDiDgIiDeFiCkJiCoH_xHqqkZx_
// *					 _xZkqqHx_iDhNiDeFiDfIiCkKiKePiCoKiClNiCoHiBeBiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmNiDeJiDhEiCmJiClDiCoKiCoJiBeC_xHqqkZx_
// *			wcpText	:_xZkqqHx_iDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmJjFfMiOkGiClDiCoKiCoJiDgFiDeMiDfIiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iNmFiMoDiCmJiClBiCmMiKnGjAjEiCkKiMmEiCmOiCoKiCmEiCkJiCoHiBeBiCePiBeEiCfEjFgCjCpGjDhIiMgPiJnPiClFiCmEiCkJiCoH_xHqqkZx_
// *			_xZkqqHx_iDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iKpJiCmJiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeBiClBiCmMiKnGjAjEiCmNjGlDiMpIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.03.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::SetPursuerTextOn (HWND hWnd, const wchar_t* wcpText)
//{
//	TRACE(_T("SetPursuerTextOn\n"));
//	if (m_mdmtPursuerTextOn == FDMILLISECTIME(-1))
//	//----- _xZkqqHx_iNmFiPiJiCmMiBeBjCmHjAnFiDgFiDeMiDfIiDgHiCmMiDeJiDjDiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmMiKmEiOiLiDfOiDeDiDhNiBfLiCpAiLeOjDkOiBeC_xHqqkZx_
//		SetTimer(FDTIMER_FRAME_PURSUER_TEXT, FD_WAIT_FRAME_PURSUER_TEXT, NULL);
//	}
//	if (m_mdmtPursuerTextOn != 0)
//	//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiCkKjEpBjFfMiOkGjCiGiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiCmMiDeJiDjDiOjOiKnEiCmJiBeBiMlLiNnNiCmMiOjOiKnEiBgJiDhOiDiKjFgCiBgKiCpAiOoGjDlOiBeC_xHqqkZx_
//		m_mdmtPursuerTextOn = FFGetCurrentMillisecTime();
//		m_hwndPursuerTextOn = hWnd;
//		m_wstrPursuerTextOn = wcpText;
//	}
//} // CFCMainFrame::SetPursuerTextOn.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::SetPursuerTextOff
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCpAiDeJiDhEiCmJiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCmMiKnGjAjEiCkKiMmEiCmOiCoJiCmGiClHiCkOiBeBiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmNiPmBiLiOiClDiCoKiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iKpJiCmJiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeBiClBiCmMiKnGjAjEiCmNjGlDiMpIiBeC_xHqqkZx_
// *			SetPursuerTextOn _xZkqqHx_iCmFiOhHjCoIiClDiCoKiClNjBmOiPnLiDeFiDeCiDjDiDgIiDeFiCkJiCoH_xHqqkZx_
// *			 _xZkqqHx_iDhNiDeFiDfIiCkKiKePiCoKiClNiCoHiBeBiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmNiDeJiDhEiCmJiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.03.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::SetPursuerTextOff ()
//{
//	if (m_mdmtPursuerTextOn == 0)
//	//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiCkKjFfMiOkGjCiGiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCpAjEpBjFfMiOkGiCmJiBeC_xHqqkZx_
//		s_wndPursuerText.ShowWindow(SW_HIDE);
//	}
//	if (m_mdmtPursuerTextOn != FDMILLISECTIME(-1))
//	//----- _xZkqqHx_iNmFiPiJiCmMiBeBjCmHjAnFiDgFiDeMiDfIiDgHiCmMiDeJiDjDiCmFiCmNiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmMiKmEiOiLiDfOiDeDiDhNiBfLiCpAjCoCiOhOiBeC_xHqqkZx_
//		KillTimer(FDTIMER_FRAME_PURSUER_TEXT);
//		// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiCmMiDeJiDjDiOjOiKnEiCpAiDiKiDfKiDgCiDgHiBeC_xHqqkZx_
//		m_mdmtPursuerTextOn = FDMILLISECTIME(-1);
//		m_hwndPursuerTextOn = NULL;
//		m_wstrPursuerTextOn.Empty();
//	}
//} // CFCMainFrame::SetPursuerTextOff.
//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 04.06.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::GetZoomListValue
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiDfJiBfLiDiAiDiKiDfIiDgHiDhLiDgCiDeOiDfIiCmJjAnNjCoIiClDiCoKiCoJiDfJiBfLiDiAjCgMiCmMiIoKjHjHiCkJiCoH_xHqqkZx_
// *			_xZkqqHx_iOhHjCoIiClDiCoKiClNiDeDiDjDiDgGiDgCiDeOiDfIiCmMiDfJiBfLiDiAjCgMiCpAiOoGiCoIiPgPiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lIndex	:_xZkqqHx_iDiKiDfIiDgHiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfJiBfLiDiAjCgMiBeCjCfAiImKiCmNiBjDiBeCiDeDiDjDiDgGiDgCiDeOiDfIiCkKjGlDiMpIiCmMiPoKiNiHiCmN_xHqqkZx_ -1_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//long CFCMainFrame::GetZoomListValue (long lIndex) const
//{
//	if (lIndex < 0 || s_ZoomDefaultSize <= lIndex) return -1;
//	return s_ZoomDefault[lIndex];
//} // CFCMainFrame::GetZoomListValue.
//----- 04.06.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 04.11.05 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::GetZoomListValue
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiDfJiBfLiDiAiDiKiDfIiDgHiDhLiDgCiDeOiDfIiCmJjAnNjCoIiClDiCoKiCoJiDfJiBfLiDiAjCgMiCmMiIoKjHjHiCkJiCoH_xHqqkZx_
// *			_xZkqqHx_iOhHjCoIiClDiCoKiClNiDeDiDjDiDgGiDgCiDeOiDfIiCmMiDfJiBfLiDiAjCgMiCpAiOoGiCoIiPgPiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	dwCtrlId:_xZkqqHx_iDfJiBfLiDiAiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiDfCiDjDiDgHiDiNiBfLiDiL_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *			lIndex	:_xZkqqHx_iDiKiDfIiDgHiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfJiBfLiDiAjCgMiBeCjCfAiImKiCmNiBjDiBeCiDeDiDjDiDgGiDgCiDeOiDfIiCkKjGlDiMpIiCmMiPoKiNiHiCmN_xHqqkZx_ -1_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//long CFCMainFrame::GetZoomListValue (DWORD dwCtrlId, long lIndex) const
//{
//	return CFCTolBrZoomBase::GetZoomListValue(dwCtrlId, lIndex);
//} // CFCMainFrame::GetZoomListValue.
//----- 04.11.05 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 04.06.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnFirstExecute
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiNmFiPiJiCmMiLeOjDkOiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnFirstExecute ()
{
} // CFCMainFrame::OnFirstExecute.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::PostOnCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnCreate_xZkqqHx_iKnGjAjEiCmMiOmAiNhDjClMiMoDiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lpCreateStruct	: _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiPiJiKpKiJlLiKgFiOoNjFmPjAjEiCmMiNfMjBkCjBmMiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	CFCMainFrame_xZkqqHx_iDeOiDiJiDfIiCkJiCoHiBeB_xHqqkZx_CFCDynamicDrawFrame/CFCChipEditorFrame_xZkqqHx_iCkK_xHqqkZx_
 *			_xZkqqHx_jFkKiKpCiClFiClNiOjOiCmJiBeB_xHqqkZx_OnCreate_xZkqqHx_iCkJiCoHjFkKjHkDiClHiCoJjFeLjHhGiCkKiCkAiCmBiClNiPiIjHjNiCpA_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiKnGjAjEiCmJiInKjDkOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::PostOnCreate (CFrameWnd* pWndFrame)
{
	//----- _xZkqqHx_iDiBiDjDiDgPjFmPjAjEiCmMiPiJiKpKiJlL_xHqqkZx_ -----
	m_mmptaRulerMMK[0].SetPoint(0, 0);		// _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_0_xZkqqHx_iCmMiPiJiKpKiJlL_xHqqkZx_.
	m_mmptaRulerMMK[1].SetPoint(0, 0);		// _xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfL_xHqqkZx_1_xZkqqHx_iCmMiPiJiKpKiJlL_xHqqkZx_.

//----------<NOT EXPORT TO VIEWER>-----------
	m_bIsOvrMode = FALSE;				// Over_xZkqqHx_iDiCiBfLiDgI_xHqqkZx_.
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	m_bUpdateColorTable = FALSE;		// _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCmMiNfIjAfGiDhEiDiJiDePiBeC_xHqqkZx_
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	m_bIsSheetChanged = FALSE;			// _xZkqqHx_jBePiJpBiCmMiNmEjFfMiOkGiImIiNhOiCmJiDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiCkJiBeI_xHqqkZx_
//----------</NOT EXPORT TO VIEWER>-----------

	// _xZkqqHx_iDiBiDgKiDiFiBfLiBhFjBlMiCmMiDeFiDeCiDjDiDgIiDeFiBhGiCmMiKmHjHjNiDeJiDhFiDfHiDeGiDeOiDgHiPiJiKpKiJlLiBeC_xHqqkZx_
	m_atpOtherApp = auto_ptr<FCOtherAppList>(new FCOtherAppList());

	//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiNoMjAkM_xHqqkZx_ -----
	m_wndStatusBar.SetOwner(this);
	if (!m_wndStatusBar.Create(pWndFrame) ||
		!m_wndStatusBar.SetIndicators(GetIndicatorArray(), GetIndicatorArraySize()))
	{
		TRACE(_T("Failed to create status bar\n"));
		return;      // _xZkqqHx_iNoMjAkMiCmJiOlIjEhD_xHqqkZx_
	}
	// _xZkqqHx_iClBiCmMiPiIjHjNiCmNjDpMiCoKiClNiCkNiCmIiCkCiCpBiClOiCkKiBeBiClBiCoKiCpAjDpMiCoKiCmIiCkCiCmGiBeBjBlMiCmMiDgDiBfLiDiLiDgPiBfLiCpA_xHqqkZx_
	// _xZkqqHx_iDhEiDiMiBfLiDiAiJlKiCmJiDgIiDgCiDeOiClFiClNiOjOiBeBiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCkKiDgDiBfLiDiLiDgPiBfLiCmMiPoDiCmJjHiIiCmEiClFiCnMiCkEiBeC_xHqqkZx_
	// CStatusBar::OnBarStyleChange _xZkqqHx_iCmMjAnNjCoIiCpAiOjNiCmBiCmEiCkLiClNiBeC_xHqqkZx_
	// BASE_CLASS::RecalcLayout -> CWnd::RepositionBars_xZkqqHx_iCmGiOmAiNhDiClDiCoKiCoJiCmGiCkLiBeB_xHqqkZx_
	// CWnd::RepositionBars_xZkqqHx_jCiGiCmMjEhKjChFiMhGiOfKiCmFiBeBiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCkKiDgHiDgCiDhGiCmJiCkAiCoJ_xHqqkZx_
	// _xZkqqHx_iClBiCmGiCkKiPgEjHhGiCoHiClFiCkCiBeC_xHqqkZx_
	m_wndStatusBar.SetWindowPos(&wndTop, 0, 0, 0, 0,
								SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_DRAWFRAME);
	//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCnGiDhGiDiNiDhAiDgFiDeCiDeDiDjDiDgGiDeCiDfAiBfLiDfOiCmMjAnNjCoI_xHqqkZx_ -----
//----- 06.02.23 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	UINT nID, nStyle;
//	int nWidth;
//	int nIndex;
//----- 06.02.23 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iDhHiDiLiDhGjFfMiOkGjFjEjFkKiCmMiDfEiDeDiDfJiCpAjAnNjCoIiBeC_xHqqkZx_
//----- 05.10.08 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	nIndex = m_wndStatusBar.CommandToIndex(ID_SEPARATOR);
//	m_wndStatusBar.GetPaneInfo(nIndex, nID, nStyle, nWidth);
//	m_wndStatusBar.SetPaneInfo(nIndex, nID, (nStyle & ~SBPS_STRETCH)|SBPS_NORMAL, 300);
//----- 05.10.08 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iNmAjFfHiPoOjFpBjFfMiOkGjFjEjFkKiCmMiDfEiDeDiDfJiCpAjAnNjCoIiBeC_xHqqkZx_
	int nIndex = m_wndStatusBar.CommandToIndex(ID_INDICATOR_PROP);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	m_wndStatusBar.GetPaneInfo(nIndex, nID, nStyle, nWidth);
//	m_wndStatusBar.SetPaneInfo(nIndex, nID, nStyle|SBPS_STRETCH, 200);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	UINT nStyle = m_wndStatusBar.GetPaneStyle(nIndex);
	m_wndStatusBar.SetPaneStyle(nIndex, nStyle|SBPS_STRETCH);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

//----------<NOT EXPORT TO VIEWER>-----------
	WString strOvr;
	strOvr.LoadString(ID_INDICATOR_OVR);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	nIndex = m_wndStatusBar.CommandToIndex(ID_INDICATOR_OVR);
//	if (m_bIsOvrMode)
//		m_wndStatusBar.SetPaneText(nIndex, WStrToTStr(strOvr));
//	else
//		m_wndStatusBar.SetPaneText(nIndex, _T(""));
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (m_bIsOvrMode)
		SetStatusBarText(strOvr, ID_INDICATOR_OVR);
	else
		SetStatusBarText(L"", ID_INDICATOR_OVR);
//----- 06.02.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

	m_wndFunctionBar.SetOwner(this);
	m_wndFunctionBar.Create(pWndFrame, WS_CHILD|WS_VISIBLE, ID_VIEW_TOOLBAR_FUNCTION_KEY);
// 05.07.20 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_wndFunctionBar.SetBarStyle(CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_ALIGN_BOTTOM);
	m_wndFunctionBar.SetBarStyle(CBRS_FLYBY | CBRS_ALIGN_BOTTOM);

//----------</NOT EXPORT TO VIEWER>-----------

	//----- _xZkqqHx_jFfHiPiAiDgDiBfLiDiLiDgPiBfLiCpAiNoMjAkM_xHqqkZx_ -----
	DWORD idCmd;	// _xZkqqHx_iDgPiBfLiCmJiKiEiCoIjAfFiCoJiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	DWORD idRes;	// _xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDgDiBfLiDiLiDgPiBfLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//	DWORD idStr;	// _xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDfOiDeDiDgHiDiLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//	GetZoomToolBarInfo(idCmd, idRes, idStr);
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	GetZoomToolBarInfo(idCmd);
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	if (!CreateDockToolBar(	m_wndToolBar,
							pWndFrame,
							idCmd))
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//							idRes,
//							idStr))
//----- 06.10.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
		return;
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiBeCiDfJiBfLiDiAiDfCiDjDiDhLiDhLiDgCiDeOiDfIjDjJiCpAiPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
	m_wndToolBar.Initialize(ID_VIEW_CMB_ZOOM, g_pView, WM_USER_SET_ZOOM256);

//----- 05.06.29 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----

	//----- _xZkqqHx_jFjEjFgJiPoOjFpBiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
	m_tolBrObjInfo.SetOwner(this);
	if (!m_tolBrObjInfo.Create(pWndFrame)) return;
	// _xZkqqHx_iDgIiDgCiDeMiDjDiDePiCpAiOhHjCoIiBeC_xHqqkZx_
	m_tolBrObjInfo.EnableDocking(CBRS_ALIGN_ANY);
	DockControlBar(&m_tolBrObjInfo, AFX_IDW_DOCKBAR_TOP);
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
	m_tolBrObjInfo.Init();

//----- 05.08.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
//	if (IsUseColorTableBar())
//	{
//		if (!CreateDockToolBar(m_tolBrPenBrush, pWndFrame,
//								ID_VIEW_TOOLBAR_PEN_BRUSH, IDR_COMMON_PEN_BRUSH)) return;
//		// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
//		m_tolBrPenBrush.Initialize();
//	}
//
//	//----- _xZkqqHx_iDgFiDeMiDfIiDgHiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
//	if (!CreateDockToolBar(m_tolBrText, pWndFrame,
//							ID_VIEW_TOOLBAR_TEXT, IDR_COMMON_TEXT)) return;
//
//	//----- _xZkqqHx_iDhEiDeIiDjDiDgHiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiLhJiCnBiDgIiDgCiDeMiDjDiDePiPiIjHjN_xHqqkZx_ -----
//	if (!CreateDockToolBar(	m_tolBrFont, pWndFrame,
//							ID_VIEW_TOOLBAR_FONT, IDR_COMMON_FONT)) return;
//	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_tolBrFont.Initialize();
//----- 05.08.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.06.29 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

} // CFCMainFrame::PostOnCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::PreOnDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OnDestroy_xZkqqHx_iKnGjAjEiCmMiOmAiNhDiOjOiCmJiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.06.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::PreOnDestroy ()
{
} // CFCMainFrame::PreOnDestroy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::MyLoadBarState
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMjAnNjCoIiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiClOiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpProfileName	:_xZkqqHx_iDiMiDfHiDfIiDgHiDiKiDeMiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::MyLoadBarState (const wchar_t* wcpProfileName)
{
	CFCDockState state;
	state.Init();
	state.MyLoadState(wcpProfileName);
	SetDockState(state);
} // CFCMainFrame::MyLoadBarState.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::MySaveBarState
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMjAnNjCoIiCpAiDiMiDfHiDfIiDgHiDiKiCmJiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpProfileName	:_xZkqqHx_iDiMiDfHiDfIiDgHiDiKiDeMiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::MySaveBarState (const wchar_t* wcpProfileName)
{
	CFCDockState state;
	state.Init();
	GetDockState(state);
	state.MySaveState(wcpProfileName);
} // CFCMainFrame::MySaveBarState.

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

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::ShowRulerMMKText
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiCmMiNmAjFfHiCpAiDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmJjFfMiOkGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	tcpAddText	:_xZkqqHx_iDiLiBfLiDiJiBfLiDhNiDeFiDfIiDhNiBfLiDeKiBfLiNmAjFfHjFfMiOkGjFlGiOjKiCmMiMoDiCmJjCmHiJmBiClHiCoJiDgFiDeMiDfIiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *						 _xZkqqHx_jGlDiCkCiPoKiNiHiCmN_xHqqkZx_ NULL_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.08.20 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::ShowRulerMMKText (const wchar_t* tcpAddText)
{
	if (m_clbrpHRuler == NULL || m_clbrpVRuler == NULL) return;
	// _xZkqqHx_jCmHiJmBiDgFiDeMiDfIiDgHiCkKjGlDiCkCiPoKiNiHiCmNiLpDjFlGiOjKiCpAjAnNjCoIiBeC_xHqqkZx_
	if (tcpAddText == NULL) tcpAddText = L"";
	//----- _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCnGiNmAjFfHiCpAjFfMiOkG_xHqqkZx_ -----
	WString	strText;
	if (m_clbrpHRuler->IsRulerMMKVisible(0))
	{
		if (m_clbrpHRuler->IsRulerMMKVisible(1))
		//----- RulerMMK0:_xZkqqHx_jFfMiOkGiBeB_xHqqkZx_RulerMMK1:_xZkqqHx_jFfMiOkG_xHqqkZx_ _xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
		{
			strText.Format(L"X0:%f Y0:%f X1:%f Y1:%f %s",
							mm2hi(m_mmptaRulerMMK[0].x), mm2hi(m_mmptaRulerMMK[0].y),
							mm2hi(m_mmptaRulerMMK[1].x), mm2hi(m_mmptaRulerMMK[1].y),
							tcpAddText);
		} else
		//----- RulerMMK0:_xZkqqHx_jFfMiOkGiBeB_xHqqkZx_RulerMMK1:_xZkqqHx_jEpBjFfMiOkG_xHqqkZx_ _xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
		{
			strText.Format(L"X:%f Y:%f %s",
							mm2hi(m_mmptaRulerMMK[0].x), mm2hi(m_mmptaRulerMMK[0].y),
							tcpAddText);
		}
	} else
	{
		if (m_clbrpHRuler->IsRulerMMKVisible(1))
		//----- RulerMMK0:_xZkqqHx_jEpBjFfMiOkGiBeB_xHqqkZx_RulerMMK1:_xZkqqHx_jFfMiOkG_xHqqkZx_ _xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
		{
			strText.Format(L"X:%f Y:%f %s",
							mm2hi(m_mmptaRulerMMK[1].x), mm2hi(m_mmptaRulerMMK[1].y),
							tcpAddText);
		} else
		//----- RulerMMK0:_xZkqqHx_jEpBjFfMiOkGiBeB_xHqqkZx_RulerMMK1:_xZkqqHx_jEpBjFfMiOkG_xHqqkZx_ _xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
		{
			strText = tcpAddText;
		}
	}
	SetStatusBarText(strText);
} // CFCMainFrame::ShowRulerMMKText.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::CreateDockToolBar
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFfHiPiAjDeJiCmIiDgDiBfLiDiLiDgPiBfLiCmMiNoMjAkMiCpAiNhDiCkEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	toolBar	:_xZkqqHx_iNoMjAkMiPiIjHjNiCpAiNhDiCkEjBmOiPnLiCmMiDgPiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *			idCmd	:_xZkqqHx_iDgPiBfLiCmJiKiEiCoIjAfFiCoJiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			idRes	:_xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDgDiBfLiDiLiDgPiBfLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			idStr	:_xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDfOiDeDiDgHiDiLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_0_xZkqqHx_iCmIiCoHiCmO_xHqqkZx_
 *					 idRes_xZkqqHx_iCpAjBoDjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAkMiMpHiClFiClNiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBiOlIjEhDiClFiClNiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//BOOL CFCMainFrame::CreateDockToolBar (	CToolBar& toolBar,
//										CFrameWnd* pWndParent,
//										DWORD idCmd,
//										DWORD idRes,
//										DWORD idStr)
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
BOOL CFCMainFrame::CreateDockToolBar (	CFCTolBrBase& toolBar,
										CFrameWnd* pWndParent,
										DWORD idCmd)
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
{
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiDfOiDeDiDgHiDiLjFlGiOjKjHpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	WString strTitle;
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (idStr != 0)
//		strTitle.LoadString(idStr);
//	else
//		strTitle.LoadString(idRes);
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	strTitle.LoadString(idCmd);
	strTitle = FFExtractUntil(strTitle, L'\n');
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCkKjAlDiClFiCkCiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmJjDgOiClDiCoKiCoJiCoGiCkEiCmJiBeBiClBiCmMiDeFiDeCiDjDiDgIiDeFiCmJiDeJiBfLiDgJiBfLiCpAjAnNjCoIiClFiCnMiClHiBeC_xHqqkZx_
	toolBar.SetOwner(this);
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCpAiNoMjAkMiBeC_xHqqkZx_
//----- 06.10.29 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (!toolBar.CreateEx(	pWndParent, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP |
//							CBRS_GRIPPER | CBRS_FLYBY |
//							CBRS_SIZE_DYNAMIC, CRect(0,0,0,0), idCmd) ||
//		!toolBar.LoadToolBar(idRes))
//	{
//		// IDS_ERR_MSG_FAIL_INIT_TOOLBAR = "_xZkqqHx_iDgDiBfLiDiLiDgPiBfL_xHqqkZx_ %s _xZkqqHx_iCmMiPiJiKpKiJlLiCmJiOlIjEhDiClFiCnMiClFiClNiBeC_xHqqkZx_"
//		::FFErrorBox(IDS_ERR_MSG_FAIL_INIT_TOOLBAR, strTitle.c_str());
//		return FALSE;
//	}
//----- 06.10.29 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (!toolBar.CreateEx(	pWndParent, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP |
							CBRS_GRIPPER | CBRS_FLYBY |
							CBRS_SIZE_DYNAMIC, CRect(0,0,0,0), idCmd))
	{
		// IDS_ERR_MSG_FAIL_INIT_TOOLBAR = "_xZkqqHx_iDgDiBfLiDiLiDgPiBfL_xHqqkZx_ %s _xZkqqHx_iCmMiPiJiKpKiJlLiCmJiOlIjEhDiClFiCnMiClFiClNiBeC_xHqqkZx_"
		::FFErrorBox(IDS_ERR_MSG_FAIL_INIT_TOOLBAR, strTitle.c_str());
		return FALSE;
	}
//----- 06.10.29 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmJiDfOiDeDiDgHiDiLjFlGiOjKjHpBiCpAjAnNjCoIiBeC_xHqqkZx_
	FFSetWindowText(&toolBar, strTitle);
	// _xZkqqHx_iDgIiDgCiDeMiDjDiDePiCpAiOhHjCoIiBeC_xHqqkZx_
	toolBar.EnableDocking(CBRS_ALIGN_ANY);
	pWndParent->DockControlBar(&toolBar, AFX_IDW_DOCKBAR_TOP);

//----- 06.10.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	toolBar.Initialize();
//----- 06.10.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	return TRUE;
} // CFCMainFrame::CreateDockToolBar.

//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::AddObjInfoStr
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiPoOjFpBiDeFiDeCiDjDiDgIiDeFjFfMiOkGjHhAjFlGiOjKjHpBiCpAiOoGjDlOiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lArgsSz	:strArgs_xZkqqHx_jAjEiCpAjCmHiJmBiClHiCoJiBeC_xHqqkZx_
// *			strArgs	:_xZkqqHx_jFfMiOkGjFlGiOjKjHpBiCpAjCmHiJmBiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.01.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::AddObjInfoStr (long& lArgsSz, WString& strArgs)
//{
//	if (g_pView != NULL &&
//		!g_pView->GetCurrentTool()->GetSelectLocalObjVector().empty())
//	{
//		// strArgs_xZkqqHx_jAjEiCpAjCmHiJmBiBeC_xHqqkZx_
//		lArgsSz += 12;
//		//----- _xZkqqHx_jFjEjFgJjGlMiCpAjAnNjCoI_xHqqkZx_ -----
//		if (m_nSelTypeObj == FDOJ_NONE)
//		{
//			strArgs += L"--------\n";
//		} else
//		{
//			strArgs += FFObjTypeToStr(m_nSelTypeObj);
//			strArgs += L"\n";
//		}
//		//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDiCiDiKiDhGjAjEiCpAjAnNjCoI_xHqqkZx_ -----
//		if (m_dwSelMolipCount == DWORD(-1))
//		{
//			strArgs += L"--------\n";
//		} else
//		{
//			WString str;
//			str.Format(L"MOLIP:%d\n", m_dwSelMolipCount);
//			strArgs += str;
//		}
//
//		if (m_mmrtSelFrame.right < m_mmrtSelFrame.left)
//		{
//			strArgs += L"--------\n--------\n--------\n--------\n--------\n--------\n";
//		} else
//		{
//			WString str;
//			str.Format(L"L:%f\n", mm2hi(m_mmrtSelFrame.left));
//			strArgs += str;
//			str.Format(L"T:%f\n", mm2hi(m_mmrtSelFrame.top));
//			strArgs += str;
//			str.Format(L"R:%f\n", mm2hi(m_mmrtSelFrame.right));
//			strArgs += str;
//			str.Format(L"B:%f\n", mm2hi(m_mmrtSelFrame.bottom));
//			strArgs += str;
//			str.Format(L"W:%f\n", mm2hi(m_mmrtSelFrame.Width()));
//			strArgs += str;
//			str.Format(L"H:%f\n", mm2hi(m_mmrtSelFrame.Height()));
//			strArgs += str;
//		}
//		//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiKhAjDhIiCpAjAnNjCoI_xHqqkZx_ -----
//		if (2.0 <= m_dSelObjAngle)
//		{
//			strArgs += L"--------\n";
//		} else
//		{
//			WString str;
//			str.Format(L"OjR:%f\n", m_dSelObjAngle);
//			strArgs += str;
//		}
//		//----- _xZkqqHx_jBeJjBpAjFjEjFgJiCmMiDgFiDeMiDfIiDgHiKhAjDhIiCpAjAnNjCoI_xHqqkZx_ -----
//		if (2.0 <= m_dSelTextAngle)
//		{
//			strArgs += L"--------\n";
//		} else
//		{
//			WString str;
//			str.Format(L"TxR:%f\n", m_dSelTextAngle);
//			strArgs += str;
//		}
//		//----- _xZkqqHx_iDiKiDjDiDeOjAjEiCpAjAnNjCoI_xHqqkZx_ -----
//		WString str;
//		str.Format(L"LinkIn :%d\n", m_vSelLinkIn.size());
//		strArgs += str;
//		str.Format(L"LinkOut:%d\n", m_vSelLinkOut.size());
//		strArgs += str;
//	}
//} // CFCMainFrame::AddObjInfoStr.
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.08.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::IsUseColorTableBar
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeKiDiJiBfLiDgDiBfLiDiLiDgPiBfLiCpAiOgHiCkEiPoKiNiHiCmN_xHqqkZx_ TRUE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCMainFrame::IsUseColorTableBar () const
//{
//	return TRUE;
//} // CFCMainFrame::IsUseColorTableBar.
//----- 05.08.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::PostMessageToControlBars
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjBjHjFhEiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	message	:_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAiOhHjCoIiBeCiDgGiDhEiDeIiDiLiDgHiCmN_xHqqkZx_ UINT(-1)_xZkqqHx_iBeC_xHqqkZx_
 *			wParam	:_xZkqqHx_iDhAiDiJiDiBiBfLiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_iDhAiDiJiDiBiBfLiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.07.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::PostMessageToControlBars (UINT message, WPARAM wParam, LPARAM lParam)
{
	if (message == UINT(-1))
	//----- _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCkKjGkCiOhHjCoIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		message = GetCurrentMessage()->message;
		wParam = GetCurrentMessage()->wParam;
		lParam = GetCurrentMessage()->lParam;
	}

	//----- _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJ_xHqqkZx_ -----
	POSITION pos = m_listControlBars.GetHeadPosition();
	while (pos != NULL)
	{
		CControlBar* pBar = (CControlBar*)m_listControlBars.GetNext(pos);
		pBar->PostMessage(message, wParam, lParam);
	}
} // CFCMainFrame::PostMessageToControlBars.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::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* CFCMainFrame::GetIndicatorArray () const
{
	return s_indicators;
} // CFCMainFrame::GetIndicatorArray.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::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 CFCMainFrame::GetIndicatorArraySize () const
{
	return long(sizeof(s_indicators) / sizeof(s_indicators[0]));
} // CFCMainFrame::GetIndicatorArraySize.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnViewSizingBarVisible
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiCoJiDgPiBfLiBgJiDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeB_xHqqkZx_
 *			_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBgKiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjFmPiNfIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	dwCommandId	:_xZkqqHx_iDgPiBfLiCpAjDmBjCoIiClHiCoJiDfCiDhNiDjDiDgIiCpAiOhHjCoIiBeC_xHqqkZx_
 *				ID_VIEW_STATUS_BAR			:_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_TOOLBAR_FUNCTION_KEY:_xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_CHIP_STORE_VISIBLE	:_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeC_xHqqkZx_
 *				ID_VIEW_HTREE_VISIBLE		:_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iKgFiDfCiDhNiDjDiDgIiCkJiCoHiBeB_xHqqkZx_WM_USER_VIEW_SIZING_BAR_VISIBLE_xZkqqHx_iCmM_xHqqkZx_PostMessage_xZkqqHx_iCpA_xHqqkZx_
 *			_xZkqqHx_iMgPjHfCiClFiCmEiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDeMiDiDiDjDiDgPiDfIiPoDiCmMiJeFiDeOiDiKiDgCiDeOiCmJiCoGiCoJiDgAiDgCiDhGiDfIiDgHiDeBjFfMiOkGiBeFjEpBjFfMiOkGiCmMiPoKiNiHiBeB_xHqqkZx_
 *			_xZkqqHx_iDfCiDhNiDjDiDgIiCpAjClMjAnKiPiIjHjNiClHiCoJiCmGiNmEjFgAiJoGiCmMiNnLiCmJiDiBiDgKiDiFiBfLiCmMjFfMiOkGiCkKiJoGjGmKiCmJ_xHqqkZx_
 *			_xZkqqHx_iOgDiCmBiCmEiClFiCnMiCkEiClNiCnPiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnViewSizingBarVisible (DWORD dwCommandId)
{
	switch (dwCommandId)
	{
	case ID_VIEW_STATUS_BAR:			// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiPoKiNiHiBeC_xHqqkZx_
	case ID_VIEW_TOOLBAR_FUNCTION_KEY:	// _xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDeMiBfLiCmMiPoKiNiHiBeC_xHqqkZx_
		OnViewToolbars(dwCommandId);
		break;
	}
} // CFCMainFrame::OnViewSizingBarVisible.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateViewSizingBarVisible
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiCoJiDgPiBfLiBgJiDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeB_xHqqkZx_
 *			_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBgKiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjFmPiNfIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_jFfMiOkGiBeFjEpBjFfMiOkGiCpAjAnNjCoIiClFiCmEjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateViewSizingBarVisible (CCmdUI* pCmdUI)
{
	switch (pCmdUI->m_nID)
	{
	case ID_VIEW_STATUS_BAR:			// _xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiPoKiNiHiBeC_xHqqkZx_
	case ID_VIEW_TOOLBAR_FUNCTION_KEY:	// _xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDeMiBfLiCmMiPoKiNiHiBeC_xHqqkZx_
		OnUpdateViewToolbars(pCmdUI);
		break;
	default:
		pCmdUI->Enable(FALSE);
		pCmdUI->SetCheck(FALSE);
	}
} // CFCMainFrame::OnUpdateViewSizingBarVisible.

//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::GetBroadcastHwndMsg
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	HWND_xZkqqHx_iCmMjEkNjAeNiCpAiOhHiOkGiClHiCoJiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHjHhAiDiBiDgCiDfKiBfLiDfHiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHjHhAiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	BroadcastHwndMsg _xZkqqHx_iCmM_xHqqkZx_ WPARAM _xZkqqHx_iCmJiCmNiBeBiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiDiBiDgCiDfKiBfLiDfH_xHqqkZx_
// *			_xZkqqHx_iOkPjFmKjHhAiCmMiDfCiBfLiDgIiBgJjCmKiPoNiCmN_xHqqkZx_time_xZkqqHx_iKnGjAjEiCkKjFnEiClHiOjOiKnEiBgKiCpAiOhHjCoIiBeC_xHqqkZx_LPARAM _xZkqqHx_iCmN_xHqqkZx_
// *			_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.09.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//DWORD CFCMainFrame::GetBroadcastHwndMsg () const
//{
//	return DWORD(-1);
//} // CFCMainFrame::GetBroadcastHwndMsg.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::GetNotifyHwndMsg
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	HWND_xZkqqHx_iCpAjCmKjCgNiClHiCoJiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHjHhAiDiBiDgCiDfKiBfLiDfHiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHjHhAiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	NotifyHwndMsg _xZkqqHx_iCmM_xHqqkZx_ WPARAM _xZkqqHx_iCmJiCmNiBeBiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiDiBiDgCiDfKiBfLiDfH_xHqqkZx_
// *			_xZkqqHx_iOkPjFmKjHhAiCmMiDfCiBfLiDgIiBgJ_xHqqkZx_BroadcastHwndMsg _xZkqqHx_iCmFiOpDiCkPiOoGiCmBiClN_xHqqkZx_WPARAM_xZkqqHx_iBgKiCpAiOhHjCoIiBeC_xHqqkZx_
// *			LPARAM _xZkqqHx_iCmN_xHqqkZx_ MainFrame_xZkqqHx_iCmM_xHqqkZx_HWND_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.09.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//DWORD CFCMainFrame::GetNotifyHwndMsg () const
//{
//	return DWORD(-1);
//} // CFCMainFrame::GetNotifyHwndMsg.
//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::InitGlobal
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhEiDiMiBfLiDiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfOiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *			_xZkqqHx_iNmFiPiJiCmMiOmAiNhDiCmMiCmGiCkLiCmMiCnNiDePiDiNiBfLiDgPiDiLjFmPjAjEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pFrame	:_xZkqqHx_iDhEiDiMiBfLiDiAiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.12.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::InitGlobal (CFCMainFrame* pFrame)
{
	if (s_lGlobalCounter == 0)
		g_pFrame = pFrame;
	s_lGlobalCounter++;
} // CFCMainFrame::InitGlobal.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::TerminateGlobal
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhEiDiMiBfLiDiAiCmMiDgGiDfIiDgHiDiJiDeOiDfOiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *			_xZkqqHx_iNmFiMoDiCmMiOmAiNhDiCmMiCmGiCkLiCmMiCnNiDePiDiNiBfLiDgPiDiLjFmPjAjEiCpAiNoNiPjMiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.12.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::TerminateGlobal ()
{
	s_lGlobalCounter--;
	if (s_lGlobalCounter == 0)
		g_pFrame = NULL;
} // CFCMainFrame::TerminateGlobal.

/////////////////////////////////////////////////////////////////////////////
// CFCMainFrame _xZkqqHx_iDeOiDiJiDfIiCmMjAgGjCgG_xHqqkZx_

#ifdef _DEBUG
void CFCMainFrame::AssertValid() const
{
	BASE_CLASS::AssertValid();
} // CFCMainFrame::AssertValid.

void CFCMainFrame::Dump(CDumpContext& dc) const
{
	BASE_CLASS::Dump(dc);
} // CFCMainFrame::Dump.

#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CFCMainFrame _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhEiDiMiBfLiDiAjAlGjAkMiOjOiCmJiOmAiNhDiClDiCoKiCoJ_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lpCreateStruct	: _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiPiJiKpKiJlLiKgFiOoNjFmPjAjEiCmMiNfMjBkCjBmMiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAlDiPoNiPeJjHlJiCmIiCoHiCmOiCePiCpAjFnEiClHiBeCiDeHiDiJiBfLiCmIiCoHiCmOiBhMiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *************************************************************************/
int CFCMainFrame::OnCreate (LPCREATESTRUCT lpCreateStruct)
{
	/*----- BASE_CLASS::OnCreate_xZkqqHx_iCkJiCoH_xHqqkZx_CFCDynamicDrawView::OnCreate_xZkqqHx_jDjJiCkKiOmAiNhD_xHqqkZx_
			_xZkqqHx_iClDiCoKiCoJiCmMiCmFiBeB_xHqqkZx_BASE_CLASS::OnCreate_xZkqqHx_iCmMjBePiCmJiBeBiImIiJlKiCmMiPiJiKpKiJlLiCkKjFeLjHhG_xHqqkZx_ -----*/

	//----- _xZkqqHx_jCmKiPoNiCmMiPiJiKpKiJlLiPiIjHjNiCmNiBeB_xHqqkZx_BASE_CLASS::OnCreate_xZkqqHx_iImIiNhOiCnG_xHqqkZx_ -----
	if (BASE_CLASS::OnCreate(lpCreateStruct) == -1)
		return -1;

//----- 05.07.20 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iDfGiDfIiDgFiDiAjFfHiPiAiCmMiDgDiBfLiDiLiDhBiDjDiDgHiCpAjGlDiMpIiCmJiClHiCoJiBeC_xHqqkZx_
	EnableToolTips(FALSE);
//----- 05.07.20 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_iDiBiDeDiDjDiDhEiDiMiBfLiDiAiCmJiDgDiBfLiDiLiDgPiBfLiCpAiDgIiDgCiDeMiDjDiDePiJmCjEfMiCmJiClHiCoJiBeC_xHqqkZx_
	EnableDocking(CBRS_ALIGN_ANY);

	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiPiJiKpKiJlLiBgJiDiBiDjDiDgPjFmPjAjEjAnNjCoIiBeBiDgDiBfLiDiLiDgPiBfLiNoMjAkMjDjJiBgKiBeC_xHqqkZx_
	PostOnCreate(this);

	// _xZkqqHx_jEgIjAlGiDeOiDiJiDfIjBfDiCmEiCmMiPiJiKpKiJlLiPiIjHjNiBgJ_xHqqkZx_PostOnCreate_xZkqqHx_iBgKiCkKiPeJjHlJiClFiClNiMoDiCmJiBeB_xHqqkZx_
	// _xZkqqHx_iImIiJlKiCmMiPiIjHjNiCpAiOmAiNhDiClHiCoJiBeC_xHqqkZx_

	//----- _xZkqqHx_jAiCjClMiDiLiBfLiDiJiBfLiCpAjAlGjAkMiClHiCoJ_xHqqkZx_ -----
// 06.04.24 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_clbrpVRuler = new CFCCtlBrVRuler(FALSE);
	m_clbrpVRuler = new CFCCtlBrVRuler();
	m_clbrpVRuler->Create(this, WS_CHILD|WS_VISIBLE, ID_WND_VERT_RULER);
// 05.07.20 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_clbrpVRuler->SetBarStyle(CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_ALIGN_LEFT);
	m_clbrpVRuler->SetBarStyle(CBRS_FLYBY | CBRS_ALIGN_LEFT);
	//----- _xZkqqHx_jAiFjFlNiDiLiBfLiDiJiBfLiCpAjAlGjAkMiClHiCoJ_xHqqkZx_ -----
// 06.04.23 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_clbrpHRuler = new CFCCtlBrHRuler(FALSE);
	m_clbrpHRuler = new CFCCtlBrHRuler();
	m_clbrpHRuler->Create(this, WS_CHILD|WS_VISIBLE, ID_WND_HORZ_RULER);
// 05.07.20 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_clbrpHRuler->SetBarStyle(CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_ALIGN_TOP);
	m_clbrpHRuler->SetBarStyle(CBRS_FLYBY | CBRS_ALIGN_TOP);

	// _xZkqqHx_iDiLiBfLiDiJiBfLiNfIjAfGiCmMiDiBiDgCiDfKiBfLiDfHiCpAjChOjAmPiBeC_xHqqkZx_
	FFPushPendingMessage(FCPendingMessage(FD_PMSG_MAIN_HRULER,
										WM_USER_UPDATE_RULER, NULL, NULL,
										TRUE,
										FD_PMSG_MAIN_HRULER|FD_PMSG_IF_VISIBLE,
										FD_PMSG_VIEW|FD_PMSG_IF_VISIBLE));
	FFPushPendingMessage(FCPendingMessage(FD_PMSG_MAIN_VRULER,
										WM_USER_UPDATE_RULER, NULL, NULL,
										TRUE,
										FD_PMSG_MAIN_VRULER|FD_PMSG_IF_VISIBLE,
										FD_PMSG_VIEW|FD_PMSG_IF_VISIBLE));

//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_iDeMiBfLiDgFiBfLiDhFiDiLiBgJiDfGiDiHiBfLiDgHiDeKiDgCiDgHiDeMiBfLiBeB_xHqqkZx_1_xZkqqHx_jFlGiOjKiDiBiDgKiDiFiBfLiBgKiCmMiPiJiKpKiJlLiCpAiNhDiCkEiBeC_xHqqkZx_
	WString strHandsFile;
	(void)g_pReg->GetHandsTableFile(strHandsFile);
	::FFInitKeyboardTable(strHandsFile, GetMenu()->m_hMenu);

//----- 06.03.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----- 05.07.28 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iJeCiClFiCmMiDiBiDgKiDiFiBfLiCpAiPmBiLiOiClHiCoJiBeC_xHqqkZx_FFInitKeyboardTable _xZkqqHx_iCmMiMoDiCmJiNhDiCkEiClBiCmGiBeC_xHqqkZx_
//	GetMenu()->RemoveMenu(GetMenu()->GetMenuItemCount() - 1, MF_BYPOSITION);
////----- 05.07.28 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 06.03.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	ACCEL* pAccel;
	long lAccel;
	FFGetUserAccelerator(pAccel, lAccel, g_pReg->GetIsLeftHand());
	m_hUserAccelerator = ::CreateAcceleratorTable(pAccel, lAccel);

	// _xZkqqHx_iDhGiDiJiDePiDeDiDjDiCmMjDmHiCnNiNjOiCnNiBjFiPiJiKpKiJlLiBeC_xHqqkZx_
	FCExport::Initialize();
	FCExport::LoadPlugIn();
	// _xZkqqHx_iDhGiDiJiDePiDeDiDjDiDiBiDgKiDiFiBfLjDgPjIfOiCmMiDiBiDgCiDfKiBfLiDfHiCpAjChOjAmPiBeCiDiBiDgKiDiFiBfLjDgPjIfOiCmNiBeB_xHqqkZx_
	// _xZkqqHx_iDhEiDiMiBfLiDiAiCkKjFfMiOkGiClDiCoKiCmEiCkJiCoHiClFiCmIiCkCiCmGiBeB_xHqqkZx_OLE_xZkqqHx_iLeOjDkOiCmMiPoKiNiHiCmJjDgPjIfOiCmFiCkLiCmIiCkCiBeC_xHqqkZx_
	FFPushPendingMessage(FCPendingMessage(	FD_PMSG_MAIN_WND,
											WM_USER_REGISTER_PLUGIN_MENU, NULL, NULL,
											FALSE,
											FD_PMSG_MAIN_WND|FD_PMSG_IF_VISIBLE));
//----------</NOT EXPORT TO VIEWER>-----------

	// _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiDgDiBfLiDiLiDgPiBfLiPoOjFpBiCpAiOoGjDlOiBeC_xHqqkZx_
	WString strRegName;
	strRegName.Format(L"%s\\FrameBarState", ::GetLocalAppName());
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	LoadBarState(WStrToTStr(strRegName));
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	MyLoadBarState(strRegName);
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

//----- 05.07.28 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----------NOT EXPORT TO VIEWER>-----------
//	// _xZkqqHx_iNlGjHjIiCkLiCmJjAnNjCoIiCmIiCoHiCmOiBeBiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
//	if (g_pReg->GetIsLeftHand())
//		::RightByLeftHand(GetMenu()->m_hMenu, TRUE);
//	// _xZkqqHx_jCfKiPgLiDiBiDgKiDiFiBfLiCmIiCoHiCmOiBeBiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
//	if (g_pReg->GetIsShortMenu())
//		::ShortenMenu(GetMenu()->m_hMenu);
////----------/NOT EXPORT TO VIEWER>-----------
//----- 05.07.28 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_iDiBiDgKiDiFiBfLiDgPiBfLiCpAiNmEjFgAiJoGiBeC_xHqqkZx_
	DrawMenuBar();
	// _xZkqqHx_iDiMiDeDiDeBiDeFiDgHiPiIjHjNiBeC_xHqqkZx_
	RecalcLayout();

//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----- 03.09.13 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiPiIjHjN_xHqqkZx_ -----
//	::PostMessage(HWND_BROADCAST, GetBroadcastHwndMsg(), WPARAM(::time(NULL)), 0);
////----- 03.09.13 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	CRect rt(100, 100, 200, 200);
//	s_wndPursuerText.Create();
//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	return 0;
} // CFCMainFrame::OnCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiPmBjGmFiOjOiCmJiOmAiNhDiClDiCoKiCoJ_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnDestroy ()
{
//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_iDhGiDiJiDePiDeDiDjDiCmMiJpAjFpKiBjFiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
	FCExport::FreePlugIn();
	FCExport::Terminate();
//----------</NOT EXPORT TO VIEWER>-----------
	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJiDeFiDeCiDjDiDgIiDeFiDfIiDfOiDeDiDiLiBjFiDfEiDeDiDfJiCpAiLeMjIfO_xHqqkZx_ -----
	DWORD dwStyle = GetStyle();
	// _xZkqqHx_jCmKiPoNiOjOiBgJiDeBiDeDiDfCiDjDiCmFiCoAiNmFjBoFiCmFiCoAiCmIiCkCiBgKiCmMiDeFiDeCiDjDiDgIiDeFiImKjChFiBeFiDfEiDeDiDfJiCpAiOoGjDlOiBeC_xHqqkZx_
	WINDOWPLACEMENT wp;
	wp.length = sizeof(wp);
	(void)GetWindowPlacement(&wp);
	CRect rtWin = wp.rcNormalPosition;
	// _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJiLeMjIfOiBeC_xHqqkZx_
	g_pReg->SetAppWinPos(dwStyle, CPoint(rtWin.left, rtWin.top),
						 CSize(rtWin.Width(), rtWin.Height()));

	//----- _xZkqqHx_iDiLiBfLiDiJiBfLiCmMjEgKiKpM_xHqqkZx_ -----
	m_clbrpHRuler->DestroyWindow();
	delete m_clbrpHRuler;
	m_clbrpVRuler->DestroyWindow();
	delete m_clbrpVRuler;
	//----- _xZkqqHx_iImIiJlKiCpAjAnNjCoIiClFiCmIiCkCiCmGiBeB_xHqqkZx_Tool::Unselect_xZkqqHx_iCmFiDeHiDiJiBfL_xHqqkZx_ -----
	m_clbrpHRuler = NULL;
	m_clbrpVRuler = NULL;

//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMjEgKiKpMiBeC_xHqqkZx_
	::DestroyAcceleratorTable(m_hUserAccelerator);
	m_hUserAccelerator = NULL;
//----------</NOT EXPORT TO VIEWER>-----------

	// _xZkqqHx_iPoDiLeMiCmMiPiIjHjNiCkKiPeJjHlJiClFiClNiMoDiCmJiBeBjEgIjAlGiDeOiDiJiDfIjBfDiCmEiCmM_xHqqkZx_
	// _xZkqqHx_iPeJjHlJiPiIjHjNiBgJ_xHqqkZx_PreOnDestroy_xZkqqHx_iBgKiCpAiOmAiNhDiClHiCoJiBeC_xHqqkZx_

	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiPeJjHlJiPiIjHjNiBgJjHmMiIoGiKeKjFpKjDjJiBgKiBeC_xHqqkZx_
	PreOnDestroy();

	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnDestroy();

//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----- 03.09.13 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiPiIjHjN_xHqqkZx_ -----
//	// _xZkqqHx_iClBiCoKiImIiNhOiBeB_xHqqkZx_HWND_xZkqqHx_iCpAiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiClFiCmIiCkCiCoGiCkEiBeBiOkPjFmKiDfCiBfLiDgIiCpAjGlDiMpIiJlLiClHiCoJiBeC_xHqqkZx_
//	m_dwBroadcastIdentify = DWORD(-1);
//	::PostMessage(HWND_BROADCAST, GetBroadcastHwndMsg(), WPARAM(::time(NULL)), 0);
////----- 03.09.13 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnDestroy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::PreCreateWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFjAlGjAkMjBePiCmJiOmAiNhDiClDiCoKiCoJ_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	cs	: 
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiDfIiDfOiDeDiDiLiCmNiClBiClBiCmFiCmNjAnNjCoIiCmFiCkLiCmIiCkCiBeC_xHqqkZx_
 *			_xZkqqHx_iLhEiCmJiBeBiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCmNiClBiClBiCmFjAnNjCoIiClFiCmIiCkCiCmGiBeBiDfEiDeDiDfJiCmMjCmKjCgNiCkK_xHqqkZx_
 *			View_xZkqqHx_jDjJiCmJiNhDiCkLjDgOiCoHiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>
 *************************************************************************/
BOOL CFCMainFrame::PreCreateWindow (CREATESTRUCT& cs)
{
	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiPoOjFpBiCpAiIpIiCkLiPgPiClH_xHqqkZx_ -----
	DWORD	dwWinStyle;
	CPoint	ptAppWin;
	CSize	szAppWin;
	if (g_pReg->GetAppWinPos(dwWinStyle, ptAppWin, szAppWin))
	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCkKiOoGjDlOiCmFiCkLiClNiPoKiNiH_xHqqkZx_ -----
	{
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		cs.x = ptAppWin.x;
//		cs.y = ptAppWin.y;
//		cs.cx = szAppWin.cx;
//		cs.cy = szAppWin.cy;
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCpAiBeBiDiCiDgKiDfOiBfLiCmJiNiHiCoNiClJiCoJiBeC_xHqqkZx_
		// _xZkqqHx_iDhNiDiLiDgAiDiCiDgKiDfOiBfLiKmCiLkLiCmFjHjIjHhAiClHiCoJiPoKiNiHiCpAiNgMjHlGiBeC_xHqqkZx_
		CRect rtWin(ptAppWin, szAppWin);
		rtWin += FFJustifyToMonitor(rtWin);
		cs.x = rtWin.left;
		cs.y = rtWin.top;
		cs.cx = rtWin.Width();
		cs.cy = rtWin.Height();
//----- 05.11.12 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	}
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	if(!BASE_CLASS::PreCreateWindow(cs))
		return FALSE;
	// TODO: _xZkqqHx_iClBiCmMiImKjChFiCmF_xHqqkZx_ CREATESTRUCT cs _xZkqqHx_iCpAiPeDjAlDiClFiCmEiBeB_xHqqkZx_Window _xZkqqHx_iDeOiDiJiDfIiCoCiDfIiDfOiDeDiDiLiCpA_xHqqkZx_
	//       _xZkqqHx_iPeDjAlDiClFiCmEiCkNiClOiClDiCkCiBeC_xHqqkZx_

	return TRUE;
} // CFCMainFrame::PreCreateWindow.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnQueryNewPalette
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CWnd _xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCkKjDpMjHmNiDhEiDeIiBfLiDeKiDfIiCpAiOpDiCkPiOoGiCoJjClMjBePiCmJiBeB_xHqqkZx_
 *			_xZkqqHx_iDhEiDiMiBfLiDiAiDiPiBfLiDeOiCkJiCoHiClBiCmMiDiBiDjDiDgPiKnGjAjEiCkKiMmEiCnBiPgPiClDiCoKiCnMiClH_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	: _xZkqqHx_jIfPjHjNiDhAiDiMiDgCiDgHiCpAiOmAiMlLiClHiCoJiPoKiNiH_xHqqkZx_
 *			FALSE	: _xZkqqHx_iClLiCkEiCmFiCmIiCkCiPoKiNiH_xHqqkZx_.
 *************************************************************************/
BOOL CFCMainFrame::OnQueryNewPalette ()
{
	if (g_pFDPalette != NULL)
	{
		CClientDC dc(g_pView);
		// MolipDraw_xZkqqHx_iCmMiDhAiDiMiDgCiDgHiCpAjAnNjCoIiBeC_xHqqkZx_
		CPalette* pOldPal = dc.SelectPalette(g_pFDPalette, FALSE);
		// _xZkqqHx_jIfPjHjNiDhAiDiMiDgCiDgHiCpAiDfGiDfIiDgFiDiAiDhAiDiMiDgCiDgHiCmJiDhNiDgCiDhGiBeC_xHqqkZx_
		DWORD dwChanged = dc.RealizePalette();
		// _xZkqqHx_iDhAiDiMiDgCiDgHiCpAjGnPiClHiBeC_xHqqkZx_
		dc.SelectPalette(pOldPal, FALSE);
		// _xZkqqHx_iDhAiDiMiDgCiDgHiCmJjFmPiNfIiCkKiCkAiCoKiCmOiDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGiCpAiNfIjAfGjHmMiIoGiCmJjDgPjIfOiBeC_xHqqkZx_
		if(0 < dwChanged)
			InvalidateRect(NULL);
	}
	return BASE_CLASS::OnQueryNewPalette();
} // CFCMainFrame::OnQueryNewPalette.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnPaletteChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhAiDiMiDgCiDgHiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pFocusWnd	: _xZkqqHx_iDfGiDfIiDgFiDiAiDhAiDiMiDgCiDgHiCpAjFmPiNfIiClFiClNiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnPaletteChanged (CWnd* pFocusWnd)
{
	BASE_CLASS::OnPaletteChanged(pFocusWnd);
	if(pFocusWnd != this) OnQueryNewPalette();
} // CFCMainFrame::OnPaletteChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnShowWindow
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMjFfMiOkGiPpDjBnEiCkKjFmPiNfIiClDiCoKiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bShow	:_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAjFfMiOkGiClHiCoJiCkJiCmHiCkEiCkJiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *					 _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAjFfMiOkGiClHiCoJiPoKiNiHiCmN_xHqqkZx_ TRUE _xZkqqHx_iCpAiBeBjEpBjFfMiOkGiCmJiClHiCoJ_xHqqkZx_
 *					 _xZkqqHx_iPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *			nStatus	:_xZkqqHx_jFfMiOkGiClHiCoJiDeFiDeCiDjDiDgIiDeFiCmMiPpDjBnEiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *					 ShowWindow _xZkqqHx_iDiBiDjDiDgPiKnGjAjEiCkKiMmEiCnBiPgPiClDiCoKiBeBiDiBiDgCiDfKiBfLiDfHiCkK_xHqqkZx_
 *					 _xZkqqHx_jBjHiCoHiCoKiCoJiPoKiNiHiCmN_xHqqkZx_ 0 _xZkqqHx_iCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_
 *					 _xZkqqHx_iClLiCoKiImIiKePiCmMiPoKiNiHiCmNiBeB_xHqqkZx_nStatus _xZkqqHx_iCmNiOjPiCmMjCgMiCmMiCkCiClIiCoKiCkJiCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_ 
 *				SW_PARENTCLOSING	:_xZkqqHx_jAgFiDeFiDeCiDjDiDgIiDeFiCkKiDeOiDiNiBfLiDfJ_xHqqkZx_ (_xZkqqHx_iDeBiDeDiDfCiDjDiJlL_xHqqkZx_) 
 *									 _xZkqqHx_iClDiCoKiCoJiCkJiBeBiDhMiDgCiDhGiDeBiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkK_xHqqkZx_
 *									 _xZkqqHx_jEpBjFfMiOkGiCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_
 *				SW_PARENTOPENING	:_xZkqqHx_jAgFiDeFiDeCiDjDiDgIiDeFiCkKiDeJiBfLiDhGiDjD_xHqqkZx_ (_xZkqqHx_jFfMiOkG_xHqqkZx_) _xZkqqHx_iClDiCoKiCoJiCkJiBeB_xHqqkZx_
 *									 _xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhG_xHqqkZx_ _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCkKjFfMiOkGiClDiCoKiCnMiClHiBeC_xHqqkZx_ 
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnShowWindow (BOOL bShow, UINT nStatus)
{
//	TRACE(_T("OnShowWindow\n"));
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnShowWindow(bShow, nStatus);
//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jChOjAmPiClDiCoKiCmEiCkCiCoJiDiBiDgCiDfKiBfLiDfHiCpAiPiIjHjNiBeC_xHqqkZx_
//	FFNotifyPendingMessage(this, bShow);
//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnShowWindow.

//////////////////////////////////////////////////////////////////////////
// _xZkqqHx_iDgAiDgCiDhGiDeHiDgGiDeCiDfOiCmMjFjEjFgJjGpAiKiEiDgPiBfLiCmMiDeDiDhIiDjDiDgHiPiIjHjN_xHqqkZx_
//////////////////////////////////////////////////////////////////////////

//----- 03.07.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//void CFCMainFrame::OnSize(UINT nType, int cx, int cy) 
//{
//	BASE_CLASS::OnSize(nType, cx, cy);
//} // CFCMainFrame::OnSize.
//
//void CFCMainFrame::OnMove(int x, int y) 
//{
//	BASE_CLASS::OnMove(x, y);
//} // CFCMainFrame::OnMove.
//----- 03.07.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnWindowPosChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDeDiDjDiDhEiDiMiBfLiDiAiCmMiImKjChFiBeFiDfEiDeDiDfJjDjJiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lpwndpos	:_xZkqqHx_iImKjChFiPoOjFpB_xHqqkZx_.
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	View_xZkqqHx_iCnGiDiBiDeDiDjDiDhEiDiMiBfLiDiAiCmMiDfEiDeDiDfJiCpAjCmKjCgNiClHiCoJiBeCiClBiCmMiPoOjFpBiCmN_xHqqkZx_View_xZkqqHx_iCmM_xHqqkZx_
 *			_xZkqqHx_iDiKiDfEiDeDiDfJiCmJjHjIjHhAiClDiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJiDiBiDeDiDjDiDhEiDiMiBfLiDiAiCmMiDfEiDeDiDfJiCpAiLeMjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnWindowPosChanged (WINDOWPOS* lpwndpos)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDiKiDfEiDeDiDfJiCmMiPoKiNiHiCmNiBeBiClBiClBiCmF_xHqqkZx_CFCDynamicDrawView::OnWindowPosChanged_xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiInKjDkOiCmMiPoKiNiHiCmNiBeB_xHqqkZx_CFCDynamicDrawView::OnWindowPosChanged_xZkqqHx_iCmNiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
	BASE_CLASS::OnWindowPosChanged(lpwndpos);

//----- 05.08.11 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iNfIjAfGjHmMiIoGiCpAjBkGiOjOiCmJiNmEjFgAiJoGiBeC_xHqqkZx_WindowsXP_xZkqqHx_iCmMiJoGjGmKiDhGiDiNiDhAiDgFiDeCiCmMiDgGiDfFiDeDiDjDiCmF_xHqqkZx_WindowsXP_xZkqqHx_iDfIiDfOiDeDiDiLiCpA_xHqqkZx_
	// _xZkqqHx_jBeJjBpAiClFiCmEiCkCiCoJiPoKiNiHiBeBiDeFiDeCiDjDiDgIiDeFiNlGiPoDiCpAiOjNiCmBiCmEiDiKiDfEiDeDiDfJiClHiCoJiCmGiDeFiDeCiDjDiDgIiDeFiInKjDkOiCmG_xHqqkZx_
	// _xZkqqHx_iDfEiDeDiDfJjFmPiNfIiCkKjHkHiCmEjBlBiCkPiCmJjEkNjAlGiClHiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iClBiClBiCmF_xHqqkZx_UpdateWindow_xZkqqHx_iCpAiOmAiNhDiClFiCmIiCkCiCmGiBeBiCfAiJpBjGnKiCmMiNmEjFgAiJoGjHmMiIoGiCkKjGlDiMpIiClDiCoKiClNiMoDiCmJ_xHqqkZx_
	// _xZkqqHx_jFgAiJoGiPiIjHjNiCkKiCkJiCkJiCoJiClNiCnPiBeBjFgAiJoGiCkKiCkEiCnMiCkNiCkCiCkJiCmIiCkNiCmIiCoJiBeC_xHqqkZx_
	UpdateWindow();
//----- 05.08.11 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 05.08.12 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiNmFjBoFiJlLiClFiCmEiBeBiClLiCmMiPoDiCmJjBlMiCmMiDeBiDhGiDiKiDeFiDeCiDjDiDgIiDeFiCkKiPoGiCmBiCmEiCkCiCoJiPpDjBnEiCmF_xHqqkZx_
//	// _xZkqqHx_iJeFiPoDiCmMiDhLiDfOiDjDiCmFiDfEiDeDiDfJiCpAiMlDiCmJjGnPiClHiCmGiBeBiNmEjFgAiJoGiClDiCoKiCmIiCkCjHmMiIoGiCkKiOgDiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
//	// _xZkqqHx_iClBiCoKiCmNiBeBiDeBiDhGiDiKjAnIiCoIjBnGiCkGiCmGiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJjFmPiNfIiCkKjBlBiCkPiCmEiDiBiDgCiDfKiBfLiDfHiCmGiClFiCmE_xHqqkZx_
//	// _xZkqqHx_jBjHiCoIiCmCiCkPiCoHiCoKiBeBiDfEiDeDiDfJjFmPiNfIiMoDiCmJiCnMiCmGiCnPiCmEiJoGjGmKiNmEjFgAiJoGiCkKiNhDiCoNiCoKiCoJiClNiCnPiBeB_xHqqkZx_
//	// _xZkqqHx_iNmEjFgAiJoGjHmMiIoGiCkKjAlDiKgNiCmJiPiIjHjNiClDiCoKiCmIiCkCiClNiCnPiBeC_xHqqkZx_
//	// _xZkqqHx_iDeBiDhGiDiKjAnIiCoIjBnGiCkGiOjOiCmJiIoKjDhI_xHqqkZx_ _xZkqqHx_iNmEjFgAiJoGiCpAiLkNjAkHiClFiCmEiCoCiCoJiBeC_xHqqkZx_
//	if (!(SWP_HIDEWINDOW & lpwndpos->flags) && !(SWP_NOZORDER & lpwndpos->flags))
//	//----- _xZkqqHx_iDhEiDiMiBfLiDiAjEpBjFfMiOkGiCmFiCmNiCmIiCkNiBeB_xHqqkZx_Z_xZkqqHx_iDeJiBfLiDfPiBfLjFmPiNfIiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		if (g_pView == NULL) return;
//		if (!g_pView->IsWindowVisible()) return;
//		// _xZkqqHx_iNmEjFgAiJoGiPiIjHjNiBeC_xHqqkZx_
//		g_pView->SendRgnRedraw();
//	}
//----- 05.08.12 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	if (!(SWP_NOMOVE & lpwndpos->flags))
	//----- _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiInKjDkOiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iDhEiDiMiBfLiDiAiDiKiDfEiDeDiDfJiCmMiPoKiNiHiCmNiBeBiKpJiCmJ_xHqqkZx_ BASE_CLASS::OnWindowPosChanged
		// _xZkqqHx_iCmMjDoAjFjEiCkJiCoH_xHqqkZx_ CFCDynamicDrawView::OnWindowPosChanged _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCmEiCkIiCoIiBeB_xHqqkZx_
		// _xZkqqHx_iDhCiDiFiBfLiCmMiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmNiKpJiCmJiOoGjDlOiClDiCoKiCmEiCkCiCoJiBeC_xHqqkZx_
		// _xZkqqHx_iClBiCmMiClNiCnPiBeBiDhEiDiMiBfLiDiAiCmMiDiKiDfEiDeDiDfJiCmMiPoKiNiHiCmNiBeBiImIiJlKiCpAiOmAiNhDiClHiCoJjFeLjHhGiCmNiCmIiCkCiBeC_xHqqkZx_

		//----- View_xZkqqHx_iCmMjHmMiIoGiCpA_xHqqkZx_Screen_xZkqqHx_iNmAjFfHiCmFiLeMjIfO_xHqqkZx_ -----
		// _xZkqqHx_iDiKiDfEiDeDiDfJiCmN_xHqqkZx_CView_xZkqqHx_iCmFjFnPiCoHiCkGiCoHiCoKiCoJiCkKiBeBiDhEiDiMiBfLiDiAiCmMiInKjDkOiCmN_xHqqkZx_
		// CView_xZkqqHx_iCmFiCmNiCmFiCkLiCmIiCkCiClNiCnPiBeBiClBiClBiCkJiCoHjCmKjCgNiBeC_xHqqkZx_
		// _xZkqqHx_iMlLiNnNiCmMjHmMiIoG_xHqqkZx_(_xZkqqHx_iDfIiDeOiDiKiBfLiDjDiNmAjFfH_xHqqkZx_)_xZkqqHx_iCmJjAfGiClFiCkCjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
		FFPushPendingMessage(FCPendingMessage(FD_PMSG_VIEW,
											WM_USER_UPDATE_VIEW_SCREEN_RECT, NULL, NULL,
											TRUE,
											FD_PMSG_MAIN_WND|FD_PMSG_IF_VISIBLE,
											FD_PMSG_VIEW|FD_PMSG_IF_VISIBLE));
	}
} // CFCMainFrame::OnWindowPosChanged.

//----- 03.07.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//void CFCMainFrame::OnWindowPosChanging ( WINDOWPOS* lpwndpos )
//{
//	BASE_CLASS::OnWindowPosChanging(lpwndpos);
//} // CFCMainFrame::OnWindowPosChanging.
//----- 03.07.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::ActivateFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDeDiDjDiDhEiDiMiBfLiDiAiCkKiDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nCmdShow	:ShowWindow_xZkqqHx_iCmMiIpIjAjE_xHqqkZx_.
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiDfEiDeDiDfJiCmN_xHqqkZx_PreCreateWindow_xZkqqHx_iCmFjAnNjCoIiJmCjEfMiClOiCkKiBeBiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
 *			_xZkqqHx_iDfIiDfOiDeDiDiLiBgJiNmFjBoFiJlLiBgKiCmNiClBiClBiCmFiCmIiCkPiCoKiCmOiCmFiCkLiCmIiCkCiBeC_xHqqkZx_
 *			_xZkqqHx_iLhEiCmJiBeBiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCpAiClBiClBiCmFjAnNjCoIiClHiCoJiCmGiBeBiDfEiDeDiDfJiCmMjCmKjCgNiCkK_xHqqkZx_
 *			View_xZkqqHx_jDjJiCmJiNhDiCkLjDgOiCoHiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::ActivateFrame (int nCmdShow)
{
// 03.09.23 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	if (g_->appMode & FD_RUNMODE_REPAIR_DOCUMENT || g_->appMode & FD_RUNMODE_SAVE_DOCUMENT)
	if (g_->appMode & FD_RUNMODE_REPAIR_DOCUMENT)
	//----- _xZkqqHx_iDiGiBfLiDfFiPeDjFjMiDiCiBfLiDgIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		BASE_CLASS::ActivateFrame(SW_HIDE);
		return;
	}

	if (!IsWindowVisible())
	{
		// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiDfEiDeDiDfJiCmN_xHqqkZx_PreCreateWindow_xZkqqHx_iCmFjAnNjCoIiJmCjEfMiClOiCkKiBeBiDeFiDeCiDjDiDgIiDeF_xHqqkZx_
		// _xZkqqHx_iDfIiDfOiDeDiDiLiBgJiNmFjBoFiJlLiBgKiCmNiClBiClBiCmFiCmIiCkPiCoKiCmOiCmFiCkLiCmIiCkCiBeC_xHqqkZx_
		// _xZkqqHx_iLhEiCmJiBeBiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCpAiClBiClBiCmFjAnNjCoIiClHiCoJiCmGiBeBiDfEiDeDiDfJiCmMjCmKjCgNiCkK_xHqqkZx_
		// View_xZkqqHx_jDjJiCmJiNhDiCkLjDgOiCoHiCmIiCkCiBeC_xHqqkZx_
		//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiPoOjFpBiCpAiIpIiCkLiPgPiClH_xHqqkZx_ -----
		DWORD	dwWinStyle;
		CPoint	ptAppWin;
		CSize	szAppWin;
		if (g_pReg->GetAppWinPos(dwWinStyle, ptAppWin, szAppWin))
		{
			// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiNmFjBoFiJlLiPiIjHjNiCpAiNhDiCkEiBeC_xHqqkZx_
			if (dwWinStyle & WS_MAXIMIZE) nCmdShow = SW_SHOWMAXIMIZED;
		}
	}

	// _xZkqqHx_iDfGiDiHiBfLiDgHiDeKiDgCiDgHiDeMiBfLiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
	::FFAddShortcutText(GetMenu()->m_hMenu, g_pReg->GetIsLeftHand());
	// _xZkqqHx_iDiBiDgKiDiFiBfLiCpAiNmEiMhGiOfKiBjFiNmEjFgAiJoGiBeC_xHqqkZx_
	DrawMenuBar();

	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::ActivateFrame(nCmdShow);

//----- 06.03.04 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// FFNotifyPendingMessage_xZkqqHx_iCmNiBeB_xHqqkZx_OnShowWindow_xZkqqHx_iCmFiOmAiNhDiClFiCmEiCkCiClNiCkKiBeB_xHqqkZx_
	// _xZkqqHx_iNmFjBoFiJlLiCmFiLeOjDkOiClFiClNiPoKiNiHiBeB_xHqqkZx_OnShowWindow _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
	// OnShowWindow_xZkqqHx_iOkJjBmMiCmN_xHqqkZx_ BASE_CLASS::ActivateFrame_xZkqqHx_jDoAiCmFiOmAiNhDiClDiCoKiCmE_xHqqkZx_
	// _xZkqqHx_iCkCiCoJiCmMiCmFiBeBiClBiClBiCmF_xHqqkZx_ FFNotifyPendingMessage _xZkqqHx_iCpAiMmEiCpBiCmFiCoAjGoCjBoIiCmIiCkCiBeC_xHqqkZx_
	// _xZkqqHx_iNmFjBoFiJlLiCmMiPoKiNiHiCoAiBeBiDeFiDeCiDjDiDgIiDeFjFfMiOkGiNmPiCnNiCmNiKgNjEeGiBeC_xHqqkZx_
	// _xZkqqHx_jChOjAmPiClDiCoKiCmEiCkCiCoJiDiBiDgCiDfKiBfLiDfHiCpAiPiIjHjNiBeC_xHqqkZx_
	FFNotifyPendingMessage(this, TRUE);
//----- 06.03.04 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::ActivateFrame.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnClose
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Close_xZkqqHx_iDhLiDfOiDjDjDjJiCmFiPeJjHlJiClFiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDgAiDgCiDhGiDeHiDgGiDeCiDfOiCmGiClFiCmEjDkOiNoMiClFiCmEiCkCiCoJiOjOiBeB_xHqqkZx_Close_xZkqqHx_iDhLiDfOiDjDjDjJiCmFiPeJjHlJiClHiCoJiDhAiDfI_xHqqkZx_
 *			_xZkqqHx_iCpAiDiBiDgKiDiFiBfLiCkJiCoHiPeJjHlJiClHiCoJiDhAiDfIiCnGiCmCiCmIiCkOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	WORD_xZkqqHx_iCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMiBhFiDeJiDhFiDfHiDeGiDeOiDgHiCmMiPjBiOkOjAnNjCoIiBhGiCmM_xHqqkZx_
 *			_xZkqqHx_iBhFiDiMiDeDiDeBiDeFiDgHiBhGiCpAjFmPiNfIiClFiClNiPoKiNiHiCmJiCmNiBeB_xHqqkZx_Frame::OnClose _xZkqqHx_iCpAjCmKiClDiClIiCmJ_xHqqkZx_
 *			Document::OnCloseDocument _xZkqqHx_iCkKiMmEiCnBiPgPiClDiCoKiCoJiClBiCmGiCmJjCiNiInDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnClose ()
{
// 06.05.24 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	AfxDebugBreak();
	// Frame::OnClose _xZkqqHx_iCkJiCoHiOmAiNhDiClFiCmEiCkCiClNiCkKiBeB_xHqqkZx_WORD_xZkqqHx_iCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmM_xHqqkZx_
	// _xZkqqHx_iBhFiDeJiDhFiDfHiDeGiDeOiDgHiCmMiPjBiOkOjAnNjCoIiBhGiCmMiBhFiDiMiDeDiDeBiDeFiDgHiBhGiCpAjFmPiNfIiClFiClNiPoKiNiHiCmJiCmNiBeB_xHqqkZx_
	// Frame::OnClose _xZkqqHx_iCpAjCmKiClDiClIiCmJ_xHqqkZx_Document::OnCloseDocument _xZkqqHx_iCkK_xHqqkZx_
	// _xZkqqHx_iOmAiNhDiClDiCoKiCoJiClNiCnPiBeBjBfDiCmEiCmMiPeJjHlJiPiIjHjNiCmNiBeB_xHqqkZx_Document::OnCloseDocument
	// _xZkqqHx_iCkJiCoHjEkNiNhDiClHiCoJiClBiCmGiCmJjFmPiNfIiClFiClNiBeC_xHqqkZx_

//----- 02.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ (_xZkqqHx_jBfDiCmEiCmMiPeJjHlJiPiIjHjNiCmNiBeB_xHqqkZx_Document::OnCloseDocument_xZkqqHx_iCkJiCoHjEkNiNhDiClHiCoJiClBiCmGiCmJjFmPiNfIiClFiClN_xHqqkZx_)-----
////----- 02.09.06 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
////	// _xZkqqHx_iDhCiDiFiBfLiCmM_xHqqkZx_OnClose_xZkqqHx_iCpAiOmAiNhDiBeCjFhDiJmCiCmIiCoHiCmOiBeBiDeFiDeCiDjDiDgIiDeFiCpA_xHqqkZx_Close_xZkqqHx_iClFiCmIiCkCiBeC_xHqqkZx_
////	if (!g_pView->OnClose()) return;
////	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_OnClose_xZkqqHx_iCpAiOmAiNhDiBeCjFhDiJmCiCmIiCoHiCmOiBeBiDeFiDeCiDjDiDgIiDeFiCpA_xHqqkZx_Close_xZkqqHx_iClFiCmIiCkCiBeC_xHqqkZx_
////	if (!g_pDoc->OnClose()) return;
////	// _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJiDgDiBfLiDiLiDgPiBfLiPoOjFpBiCpAjFnLjBlGiBeC_xHqqkZx_
////	WString strRegName;
////	strRegName.Format(L"%s\\FrameBarState", ::GetLocalAppName());
////	SaveBarState(WStrToTStr(strRegName));
////	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeCiClBiClBiCmF_xHqqkZx_View::OnDestroy,Doc::DeleteContents
////	// _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
////	BASE_CLASS::OnClose();
////----- 02.09.06 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
////----- 02.10.08 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ (Word_xZkqqHx_iPoDiCmJ_xHqqkZx_DD3_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjDfMiCoIjFhEiCkPiCmEiBeBiClDiCoHiCmJ_xHqqkZx_DD3_xZkqqHx_iPoDiCmJ_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiDhJiBfLiDfIiDgHiClFiBeB_xHqqkZx_Word_xZkqqHx_iPoDiCmM_xHqqkZx_DD3_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMiPjBiOkOjAnNjCoI_xHqqkZx_-_xZkqqHx_iDiMiDeDiDeBiDeFiDgHiDfOiDePiBhMjAnMiCoIjFnEiClFiCmMiOoNjHnOiCmGjEhKjChFiCpAjFmPiNfIiCmGiClHiCoJiCmGiBeB_xHqqkZx_Word_xZkqqHx_iPoDiCmMjFfMiOkGiCkKiCkIiCkJiClFiCkNiCmIiCoIiBeBiNmEjFnCiPfHiCmFiCkLiCmIiCkNiCmIiCoIiCnMiClH_xHqqkZx_)-----
////	// _xZkqqHx_iDeBiDhGiDiKiCmMiPeJjHlJiPiIjHjNjCiGiCmFiCkAiCoJiDhEiDiJiDePiCpAjAnNjCoIiBeC_xHqqkZx_
////	g_->appMode |= FD_RUNMODE_ON_EXIT;
////----- 02.10.08 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ (Word_xZkqqHx_iPoDiCmJ_xHqqkZx_DD3_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjDfMiCoIjFhEiCkPiCmEiBeBiClDiCoHiCmJ_xHqqkZx_DD3_xZkqqHx_iPoDiCmJ_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiDhJiBfLiDfIiDgHiClFiBeB_xHqqkZx_Word_xZkqqHx_iPoDiCmM_xHqqkZx_DD3_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMiPjBiOkOjAnNjCoI_xHqqkZx_-_xZkqqHx_iDiMiDeDiDeBiDeFiDgHiDfOiDePiBhMjAnMiCoIjFnEiClFiCmMiOoNjHnOiCmGjEhKjChFiCpAjFmPiNfIiCmGiClHiCoJiCmGiBeB_xHqqkZx_Word_xZkqqHx_iPoDiCmMjFfMiOkGiCkKiCkIiCkJiClFiCkNiCmIiCoIiBeBiNmEjFnCiPfHiCmFiCkLiCmIiCkNiCmIiCoIiCnMiClH_xHqqkZx_)-----
//	// _xZkqqHx_iDhCiDiFiBfLiCmM_xHqqkZx_OnClose_xZkqqHx_iCpAiOmAiNhDiBeCiDgFiDeMiDfIiDgHjFnCiPfHiCoC_xHqqkZx_OLE_xZkqqHx_jFnCiPfHiCpAiPeJjHlJiClDiClJiCoJiBeC_xHqqkZx_
//	g_pView->OnClose();
////----- 02.10.09 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ (OnClose_xZkqqHx_iCpA_xHqqkZx_OnCloseDocument_xZkqqHx_iCmJjDjNiIoK_xHqqkZx_)-----
////	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_OnClose_xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
////	g_pDoc->OnClose();
////----- 02.10.09 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ (OnClose_xZkqqHx_iCpA_xHqqkZx_OnCloseDocument_xZkqqHx_iCmJjDjNiIoK_xHqqkZx_)-----
//	// _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJiDgDiBfLiDiLiDgPiBfLiPoOjFpBiCpAjFnLjBlGiBeC_xHqqkZx_
//	WString strRegName;
//	strRegName.Format(L"%s\\FrameBarState", ::GetLocalAppName());
//	SaveBarState(WStrToTStr(strRegName));
//----- 02.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ (_xZkqqHx_jBfDiCmEiCmMiPeJjHlJiPiIjHjNiCmNiBeB_xHqqkZx_Document::OnCloseDocument_xZkqqHx_iCkJiCoHjEkNiNhDiClHiCoJiClBiCmGiCmJjFmPiNfIiClFiClN_xHqqkZx_)-----
	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeCiClBiClBiCmF_xHqqkZx_View::OnDestroy,Doc::DeleteContents
	// _xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
	BASE_CLASS::OnClose();
//----- 02.09.06 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
} // CFCMainFrame::OnClose.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserRegColorChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiMiDfHiDfIiDgHiDiKjDgPjIfOiCmMiKmCiLkLiBgJjAeGiBgKiCkKiPeDjAlDiClDiCoKiClNjCmKjCgNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			04.02.27 Fukushiro M. OnUserRegColorFontChanged_xZkqqHx_iCkJiCoHjFkKjHkDiBeC_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserRegColorChanged (WPARAM, LPARAM)
{
	// _xZkqqHx_jAeGiPoOjFpBiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiPgPiClHiBeC_xHqqkZx_
	g_pReg->LoadRegColor();
	// _xZkqqHx_iNmEjFgAiJoGiBeC_xHqqkZx_
	Invalidate();
	return 1;
} // CFCMainFrame::OnUserRegColorChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserRegFontChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiMiDfHiDfIiDgHiDiKjDgPjIfOiCmMiKmCiLkLiBgJiDhEiDeIiDjDiDgHiBgKiCkKiPeDjAlDiClDiCoKiClNjCmKjCgNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			04.02.27 Fukushiro M. OnUserRegColorFontChanged_xZkqqHx_iCkJiCoHjFkKjHkDiBeC_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserRegFontChanged (WPARAM, LPARAM)
{
	// _xZkqqHx_iDhEiDeIiDjDiDgHiPoOjFpBiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiPgPiClHiBeC_xHqqkZx_
	g_pReg->LoadRegFont();
	// _xZkqqHx_iNmEjFgAiJoGiBeC_xHqqkZx_
	Invalidate();
	return 1;
} // CFCMainFrame::OnUserRegFontChanged.

//----- 03.09.19 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserRecentFileListUpdated
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iNmFiLnPiOgHiCmBiClNiDhEiDeAiDeDiDiLiCmMiDiKiDfIiDgHiPoOjFpBiCkKiNfIjAfGiClDiCoKiClNjCmKjCgNiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1.
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserRecentFileListUpdated (WPARAM, LPARAM)
//{
//	// _xZkqqHx_iNmFiLnPiOgHiCmBiClNiDhEiDeAiDeDiDiLiCmMiDiKiDfIiDgHiPoOjFpBiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiNjOiCnNiBeC_xHqqkZx_
//	FFGetApp()->ReadRecentFileList();
//	return 1;
//} // CFCMainFrame::OnUserRecentFileListUpdated.
//----- 03.09.19 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserCopyWarning
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhDiBfLiOjOiCmJiBeBiDeDiDiBiBfLiDfHiCkKjBoFiCkLiClHiCkMiCmEiIoKjFjEiDfCiDhDiBfLiCmFiCkLiCmIiCkJiCmBiClNiPoKiNiHiCmJ_xHqqkZx_
 *			_xZkqqHx_jBjHjAeNiClDiCoKiCoJiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.08.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserCopyWarning (WPARAM, LPARAM)
{
	//----- _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiDeMiDiFiBfLiCkJiCoHiBeBjDkPiClGiDiBiDgCiDfKiBfLiDfHiCpAiNoNiPjM_xHqqkZx_ -----
	MSG msg;
	while (::PeekMessage(&msg, m_hWnd, WM_USER_COPY_WARNING,
							WM_USER_COPY_WARNING, PM_REMOVE));
//----- 01.06.20 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	::FFMessageBox(IDS_MSG_COPY_NOT_ALL_IMAGE);
//----- 01.06.20 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	//----- _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiDhAiDgMiDiLiCmMjFfMiOkG_xHqqkZx_ -----
	// _xZkqqHx_iDeDiDiBiBfLiDfHiCmMiIoKjFjEiCpAiDfCiDhDiBfLiPgPjHiIiCnMiClJiCpBiCmFiClFiClNiBeC_xHqqkZx_
//----- 04.08.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	WString strMsg;
//	strMsg.LoadString(IDS_MSG_COPY_NOT_ALL_IMAGE);
//	FFShowMsgPanel(IDS_MSG_COPY_NOT_ALL_IMAGE, strMsg);
//----- 04.08.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	FFShowMsgPanel(IDS_MSG_COPY_NOT_ALL_IMAGE);
//----- 04.08.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 01.06.20 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	return 1;
} // CFCMainFrame::OnUserCopyWarning.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserSuspend
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiJiDePiDeDiDjDiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeB_xHqqkZx_Molip Draw _xZkqqHx_iDfEiDfIiDhJiDjDiDgIiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserSuspend (WPARAM, LPARAM)
{
	// Molip Draw_xZkqqHx_iOkJjAgHiCpAiDfEiDfIiDhJiDjDiDgIiClHiCoJiBeCiJpAiPjMiCmN_xHqqkZx_ _xZkqqHx_iDhGiDiJiDePiDeDiDjDiCkJiCoHiBeC_xHqqkZx_
	FCExport::SelfSuspendMolip();
	return 1;
} // CFCMainFrame::OnUserSuspend.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnWindowAnother
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjBlMiCmMiDeFiDeCiDjDiDgIiDeFiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nCmdID	:_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCpAiDhEiDeIiDeBiDePiDiJiDjDiDgIiCmJjAnIiCoIjBnGiCkGiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.18 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnWindowAnother (UINT nCmdID)
{
	HWND	hwndApp;	// _xZkqqHx_jAnIiCoIjBnGiCkGjAoGiDeBiDhGiDiKiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_
	WString	strTitle;	// _xZkqqHx_jAnIiCoIjBnGiCkGjAoGiDeBiDhGiDiKiDeFiDeCiDjDiDgIiDeFiDfOiDeDiDgHiDiLiBeC_xHqqkZx_
	// _xZkqqHx_jAnIiCoIjBnGiCkGjAoGiDeFiDeCiDjDiDgIiDeFiCpAiOoGjDlOiBeC_xHqqkZx_
	m_atpOtherApp->Get(hwndApp, strTitle, short(nCmdID - ID_WINDOW_ANOTHER1));
	// _xZkqqHx_jAnIiCoIjBnGiCkGjAoGiCkKiDeBiDeDiDfCiDjDiJlLiClDiCoKiCmEiCkCiClNiCoHiBeBiMlDiCmMiDfEiDeDiDfJiCmJjGnPiClHiBeC_xHqqkZx_
	if (::GetWindowLong(hwndApp, GWL_STYLE) & WS_MINIMIZE)
		(void)::ShowWindow(hwndApp, SW_RESTORE);
	// _xZkqqHx_iDhEiDeIiDeBiDePiDiJiDjDiDgIiDeFiDeCiDjDiDgIiDeFiCpAjAnIiCoIjBnGiCkGiBeC_xHqqkZx_
	(void)::SetForegroundWindow(hwndApp);
} // CFCMainFrame::OnWindowAnother.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateViewToolbars
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFkBjAjEiCmMiBhFiDgDiBfLiDiLiDgPiBfLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiBhGiCmMiDiBiDgKiDiFiBfLiCmMjFfMiOkGiPpDjBnEiCpA_xHqqkZx_
 *			_xZkqqHx_jAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	BASE_CLASS::OnUpdateControlBarMenu _xZkqqHx_iCpAiOfBiPmGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateViewToolbars (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	CControlBar* pBar = GetControlBar(pCmdUI->m_nID);
	if (pBar != NULL)
	{
		pCmdUI->SetCheck((pBar->GetStyle() & WS_VISIBLE) != 0);
		return;
	}
	// _xZkqqHx_iClBiCmMiKnGjAjEiIoKiCmCiCmFjFkBjAjEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCpAiDeKiDgPiBfLiClHiCoJiClNiCnPiBeBiOjPiCmMiPiIjHjNiCnGiCmCiCmIiCkOiBeC_xHqqkZx_
	pCmdUI->ContinueRouting();
} // CFCMainFrame::OnUpdateViewToolbars.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnViewToolbars
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFkBjAjEiCmMiBhFiDgDiBfLiDiLiDgPiBfLiCmMjFfMiOkGiBeFjEpBjFfMiOkGiBhGiCmMiDiBiDgKiDiFiBfLiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nID	:_xZkqqHx_iOmAiNhDiMlDiCmMiDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAkMiMpHiClFiClNiPoKiNiHiCmN_xHqqkZx_ TRUE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	BASE_CLASS::OnBarCheck _xZkqqHx_iCpAiOfBiPmGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::OnViewToolbars (UINT nID)
{
	CControlBar* pBar = GetControlBar(nID);
	if (pBar != NULL)
	{
		ShowControlBar(pBar, (pBar->GetStyle() & WS_VISIBLE) == 0, FALSE);
		return TRUE;
	}
	return FALSE;
} // CFCMainFrame::OnViewToolbars.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateWindowAnother1
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFjBlMiCmMiDeFiDeCiDjDiDgIiDeFiBhGiCmMjFfMiOkGiPpDjBnEiCpAjClCiCnHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jBlMiCmMiDeBiDhGiDiKiCmMiDeFiDeCiDjDiDgIiDeFiCpAjClCiCnHiBeBiClLiCmMiDiBiDgKiDiFiBfLiCpAjBhNjDpMiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.18 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateWindowAnother1 (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	m_atpOtherApp->UpdateMenu(pCmdUI);
} // CFCMainFrame::OnUpdateWindowAnother1.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnActivateApp
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeBiDeOiDgFiDeCiDhFiCmIiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCpAjAnIiCoIjBnGiCoNiCoJiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bActive	:_xZkqqHx_iClBiCmMiDfOiDfIiDeOiCkKiDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiCmGiCkLiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBjEpBiDeBiDeOiDgFiDeCiDhF_xHqqkZx_
 *					_xZkqqHx_iCmJiCmIiCoJiCmGiCkLiCmN_xHqqkZx_ FALSE _xZkqqHx_iCkKjAnNjCoIiClDiCoKiCoJiBeC_xHqqkZx_
 *			hTask	:_xZkqqHx_jAnIiCoIjBnGiCoNiCoJjBiKiOoIiCmMiDfOiDfIiDeOiDgOiDjDiDgIiDiLiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.31 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnActivateApp (BOOL bActive, HTASK hTask)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnActivateApp(bActive, hTask);

	// Document_xZkqqHx_iCpA_xHqqkZx_ CObject::CreateObject() _xZkqqHx_iCmFiNoMjAkMiClFiClNiPoKiNiHiBeB_xHqqkZx_
	// Document::LoadUsrTemplate _xZkqqHx_iCmIiCmHiCmFiBeBiClBiCmMiKnGjAjEiCkKiMmEiCmOiCoKiClN_xHqqkZx_
	// _xZkqqHx_iPoKiNiHiCmNiBeB_xHqqkZx_g_pView,g_pDoc_xZkqqHx_iCkK_xHqqkZx_NULL_xZkqqHx_iCmFiCkAiCoJiPoKiNiHiCoAiCkAiCoIiCkGiCoJiBeC_xHqqkZx_

	// _xZkqqHx_iDhCiDiFiBfLiCmM_xHqqkZx_OnActivateApp_xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
	if (g_pView != NULL)
		g_pView->OnActivateApp(bActive, hTask);
	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_OnActivateApp_xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
	if (g_pDoc != NULL)
		g_pDoc->OnActivateDocument(bActive);

//----- 05.07.08 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jEpBiDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiOjOiCmNiBeBjCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiCpAjEpBjFfMiOkGiBeC_xHqqkZx_
//	if (!bActive)
//		FFGetApp()->GetPopHint()->MovingOutsideTarget();
//----- 05.07.08 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiCmJjCmKjCgNiBeC_xHqqkZx_
	if (bActive)
		FFGetApp()->GetPopHint()->OnActivate();
	else
		FFGetApp()->GetPopHint()->OnDeactivate();
	// _xZkqqHx_iDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiOjOiCmNiBeBiDeFiDeCiDjDiDgIiDeFiDeMiDiDiDhGiDgAiDiDiCpAjFjMiKiIiClDiClJiCoJiBeC_xHqqkZx_

//----- 06.04.09 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (bActive) ::FFUpdateCapture();
//----- 06.04.09 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (bActive)
	//----- _xZkqqHx_iDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiCmGiCkL_xHqqkZx_ -----
	{
		::FFUpdateCapture();
	} else
	//----- _xZkqqHx_jEpBiDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJiCmGiCkL_xHqqkZx_ -----
	{
		// _xZkqqHx_iDeMiDiDiDhGiDgAiDiDiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeBiJpAjFpKiClHiCoJiBeC_xHqqkZx_
		if (FFGetCapture() != NULL &&
			FFGetCapture() == ::GetCapture())
		{
			::ReleaseCapture();
			ASSERT(::GetCapture() == NULL);
		}
	}
//----- 06.04.09 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnActivateApp.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnOptionRightHanded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiJeFjHjIiCkLiCmJjAnNjCoIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnOptionRightHanded ()
{
	// _xZkqqHx_iJeFjHjIiCkLiCmJjAnNjCoIiCmIiCoHiCmOjFjMiLeBiBeC_xHqqkZx_
	if (!g_pReg->GetIsLeftHand()) return;
	g_pReg->SetIsLeftHand(FALSE);
	// 1_xZkqqHx_jFlGiOjKiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
	::RightByLeftHand(GetMenu()->m_hMenu, FALSE);
	// _xZkqqHx_iDfGiDiHiBfLiDgHiDeKiDgCiDgHiDeMiBfLiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
	::FFAddShortcutText(GetMenu()->m_hMenu, FALSE);

	//----- _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMjAnNjCoI_xHqqkZx_ -----
	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMjEgKiKpMiBeC_xHqqkZx_
	if (m_hUserAccelerator != NULL)
	{
		::DestroyAcceleratorTable(m_hUserAccelerator);
		m_hUserAccelerator = NULL;
	}
	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	ACCEL* pAccel;
	long lAccel;
	FFGetUserAccelerator(pAccel, lAccel, g_pReg->GetIsLeftHand());
	m_hUserAccelerator = ::CreateAcceleratorTable(pAccel, lAccel);

	// _xZkqqHx_iDiBiDgKiDiFiBfLiDgPiBfLiCpAiNmEjFgAiJoGiBeC_xHqqkZx_
	DrawMenuBar();
} // CFCMainFrame::OnOptionRightHanded.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateOptionRightHanded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiJeFjHjIiCkLiCmJjAnNjCoIiBhGiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateOptionRightHanded (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(!g_pReg->GetIsLeftHand());
} // CFCMainFrame::OnUpdateOptionRightHanded.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnOptionLeftHanded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiNlGjHjIiCkLiCmJjAnNjCoIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnOptionLeftHanded ()
{
	// _xZkqqHx_iNlGjHjIiCkLiCmJjAnNjCoIiCmIiCoHiCmOjFjMiLeBiBeC_xHqqkZx_
	if (g_pReg->GetIsLeftHand()) return;
	g_pReg->SetIsLeftHand(TRUE);
	// 1_xZkqqHx_jFlGiOjKiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
	::RightByLeftHand(GetMenu()->m_hMenu, TRUE);
	// _xZkqqHx_iDfGiDiHiBfLiDgHiDeKiDgCiDgHiDeMiBfLiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
	::FFAddShortcutText(GetMenu()->m_hMenu, TRUE);

	//----- _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMjAnNjCoI_xHqqkZx_ -----
	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMjEgKiKpMiBeC_xHqqkZx_
	if (m_hUserAccelerator != NULL)
	{
		::DestroyAcceleratorTable(m_hUserAccelerator);
		m_hUserAccelerator = NULL;
	}
	// _xZkqqHx_iDiGiBfLiDfFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
	ACCEL* pAccel;
	long lAccel;
	FFGetUserAccelerator(pAccel, lAccel, g_pReg->GetIsLeftHand());
	m_hUserAccelerator = ::CreateAcceleratorTable(pAccel, lAccel);

	// _xZkqqHx_iDiBiDgKiDiFiBfLiDgPiBfLiCpAiNmEjFgAiJoGiBeC_xHqqkZx_
	DrawMenuBar();
} // CFCMainFrame::OnOptionLeftHanded.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateOptionLeftHanded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiNlGjHjIiCkLiCmJjAnNjCoIiBhGiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateOptionLeftHanded (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(g_pReg->GetIsLeftHand());
} // CFCMainFrame::OnUpdateOptionLeftHanded.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnOptionAutoAltkey
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiOkJjDkO_xHqqkZx_ALT_xZkqqHx_iDeMiBfLiCpAiOgHjHhAiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnOptionAutoAltkey ()
{
	// _xZkqqHx_iOkJjDkO_xHqqkZx_ALT-KEY_xZkqqHx_iCmMjAnNjCoIiCpAiLhEjDfNiBeC_xHqqkZx_
	g_pReg->SetIsAutoAlt(!g_pReg->GetIsAutoAlt());
} // CFCMainFrame::OnOptionAutoAltkey.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateOptionAutoAltkey
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiOkJjDkO_xHqqkZx_ALT_xZkqqHx_iDeMiBfLiCpAiOgHjHhAiBhGiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateOptionAutoAltkey (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(g_pReg->GetIsAutoAlt());
} // CFCMainFrame::OnUpdateOptionAutoAltkey.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnOptionPopHintEnable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDhMiDgCiDhGiDhBiDjDiDgHiCpAjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.19 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnOptionPopHintEnable ()
{
	// _xZkqqHx_iDhMiDgCiDhGiDhBiDjDiDgHiCpAjFfMiOkGiCmMjAnNjCoIiCpAiLhEjDfNiBeC_xHqqkZx_
	g_pReg->SetIsPopupHint(!g_pReg->GetIsPopupHint());
} // CFCMainFrame::OnOptionPopHintEnable.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateOptionPopHintEnable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDhMiDgCiDhGiDhBiDjDiDgHiCpAjFfMiOkGiBhGiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.04.19 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateOptionPopHintEnable (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(g_pReg->GetIsPopupHint());
} // CFCMainFrame::OnUpdateOptionPopHintEnable.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnOptionExpertMode
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiDeHiDeMiDfIiDhAiBfLiDgHiDiCiBfLiDgIiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.07.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnOptionExpertMode ()
{
	g_pReg->SetIsExpertMode(!g_pReg->GetIsExpertMode());
} // CFCMainFrame::OnOptionExpertMode.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateOptionExpertMode
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiBhFiDeHiDeMiDfIiDhAiBfLiDgHiDiCiBfLiDgIiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.07.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateOptionExpertMode (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate());
	pCmdUI->SetCheck(g_pReg->GetIsExpertMode());
} // CFCMainFrame::OnUpdateOptionExpertMode.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnViewRedraw
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiJoGjGmKiNmEjFfMiOkGiBhGiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnViewRedraw ()
{
	// _xZkqqHx_jBfDiJoGjGmKiCpAiNfIjAfGjHmMiIoGiCmJjCmHiJmBiBeC_xHqqkZx_
	g_pView->SetClientToRgn();
	g_pView->SendRgnRedraw();
} // CFCMainFrame::OnViewRedraw.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateViewRedraw
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiJoGjGmKiNmEjFfMiOkGiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateViewRedraw (CCmdUI* pCmdUI)
{
	pCmdUI->Enable(FFCanBasicOperate() && g_pDoc->GetIsDocumentOpened());
} // CFCMainFrame::OnUpdateViewRedraw.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::PreTranslateMessage
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKgFiOoNiDiBiDgCiDfKiBfLiDfHiBgJiDeMiBfLiDfPiDeFiDjDjDjJiBgKiCpAiPiIjHjNiClHiCoJjBePiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pMsg	:_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCkKjFmPiKlHiClDiCoKiDgGiDeCiDfIiDhAiDgCiDgAiClHiCnHiCkLiCmFiCmIiCkCiPoKiNiHiCmNiBeB_xHqqkZx_
 *			0 _xZkqqHx_iImIiKePiCpAjFnEiClFiCnMiClHiBeCiDiBiDgCiDfKiBfLiDfHiCkKjFmPiKlHiClDiCoKiClIiDgGiDeCiDfIiDhAiDgCiDgAiClHiCnHiCkL_xHqqkZx_
 *			_xZkqqHx_iPoKiNiHiCmNiBeB_xHqqkZx_0 _xZkqqHx_iCpAjFnEiClFiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiCkKiDgIiDiNiDgCiDhGiDfPiDeFiDjDjCiGiCmNiBeBiDeMiBfLjDpMjHmNiCmNiDiBiDgKiDiFiBfLiCmJiNhDiCmBiCmE_xHqqkZx_
 *			_xZkqqHx_iClFiCnMiCkEiCmMiCmFiBeBiClBiClBiCmJiCmNiClBiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::PreTranslateMessage (MSG* pMsg)
{
//	FFNotifyPendingMessage();
//	static int iCount = 0;
//	TRACE(_T("PreTranslateMessage %d\n"), iCount++);
//	TRACE(_T("PreTranslateMessage %x %x %x\r\n"), pMsg->message, pMsg->wParam, pMsg->lParam);
//	if (pMsg->message == 0x020C) AfxDebugBreak();
//	if (pMsg->message == WM_USER_SET_ZOOM256) AfxDebugBreak();

	// _xZkqqHx_iImIiJlKiCmMiPiIjHjNiCmNiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiCmMjFfMiOkGiCkK_xHqqkZx_"ALT"_xZkqqHx_iDeMiBfLiCpAiJjPiClHjGiIiCmMiDgHiDePiDiLjFfMiOkG_xHqqkZx_
	// _xZkqqHx_iCmGiCmIiCoJiCoGiCkEiCmJiOmAiOhLiClHiCoJiBeC_xHqqkZx_
	//----- Shift,Ctrl,Alt_xZkqqHx_iDeMiBfLiCmM_xHqqkZx_Down/Up _xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
	switch (pMsg->message)
	{
	case WM_KEYDOWN:
	case WM_KEYUP:
	case WM_SYSKEYDOWN:
	case WM_SYSKEYUP:
		switch (pMsg->wParam)
		{
		case VK_CONTROL:
		case VK_SHIFT:
		case VK_MENU:
			// _xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
			m_wndFunctionBar.OnSysKeyDownUp();
			break;
		}
		break;
	}

	//----- _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCnGiCmMiDiBiDgCiDfKiBfLiDfHjCmKjCgN_xHqqkZx_ -----
	switch (pMsg->message)
	{
	case WM_KEYDOWN:
	case WM_KEYUP:
	case WM_SYSKEYDOWN:
	case WM_SYSKEYUP:
		// _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmJiDeMiBfLiDeDiDhIiDjDiDgHiCpAjCmKjCgNiBeC_xHqqkZx_
		// _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmNiDfOiDeDiDhNiBfLiKiEiCoIiNjOiCnNiCmFiCoAiDeDiDhIiDjDiDgHiCpAiKmEiOiLiClHiCoJiClNiCnP_xHqqkZx_
		// _xZkqqHx_iClBiCmMiPiIjHjNiCmNjFhDjHhGiClOiCkKiBeBiMmEiCnBiPgPiClFiCmEiCoCiCmBiClNjFpLiCkKiDfIiDiAiBfLiDfJiCmJjDkOiNoMiClHiCoJiBeC_xHqqkZx_
		FFGetApp()->GetPopHint()->OnKeyboard();
		break;
	case WM_MOUSEMOVE:
		// _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmJiDhNiDeFiDfIiDeDiDhIiDjDiDgHiCpAjCmKjCgNiBeC_xHqqkZx_
		// _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmNiDfOiDeDiDhNiBfLiKiEiCoIiNjOiCnNiCmFiCoAiDeDiDhIiDjDiDgHiCpAiKmEiOiLiClHiCoJiClNiCnP_xHqqkZx_
		// _xZkqqHx_iClBiCmMiPiIjHjNiCmNjFhDjHhGiClOiCkKiBeBiMmEiCnBiPgPiClFiCmEiCoCiCmBiClNjFpLiCkKiDfIiDiAiBfLiDfJiCmJjDkOiNoMiClHiCoJiBeC_xHqqkZx_
		FFGetApp()->GetPopHint()->OnMouseMove();
		break;
	case WM_VSCROLL:
	case WM_HSCROLL:
	case WM_MOUSEWHEEL:
		// _xZkqqHx_iClBiCoKiCoHiDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCmNiBeBiDfIiDeOiDiNiBfLiDiLiDgPiBfLiCpAjBiAiNoMiClFiClNiPoKiNiHiCmN_xHqqkZx_
		// _xZkqqHx_iDfIiDeOiDiNiBfLiDiLiDgPiBfLiCmMiDeFiDeCiDjDiDgIiDeFiCmJjClMjAnKjBjHjFhEiClDiCoKiCoJiClNiCnPiBeBiClBiClBiCmNiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
		// _xZkqqHx_iDhNiDeFiDfIiCmMiDhKiDeDiBfLiDiLjBiAiNoMiCmIiCmHiCmFiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
		FFGetApp()->GetPopHint()->OnScroll();
		break;
	case WM_LBUTTONDOWN:
	case WM_LBUTTONUP:
	case WM_LBUTTONDBLCLK:
	case WM_RBUTTONDOWN:
	case WM_RBUTTONUP:
	case WM_RBUTTONDBLCLK:
	case WM_MBUTTONDOWN:
	case WM_MBUTTONUP:
	case WM_MBUTTONDBLCLK:
		// _xZkqqHx_jCmHjAnFiDhBiDjDiDgHiCmJiDhNiDeFiDfIiDeDiDhIiDjDiDgHiCpAjCmKjCgNiBeC_xHqqkZx_
		FFGetApp()->GetPopHint()->OnMouseButton();
		break;
	}

//----- 06.03.03 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	//----- _xZkqqHx_iDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiOpDiCkPiOoGiCoIiDeFiDeCiDjDiDgIiDeFiCnGiCmMiDiBiDgCiDfKiBfLiDfHjCmKjCgN_xHqqkZx_ -----
	switch (pMsg->message)
	{
	case WM_VSCROLL:
	case WM_HSCROLL:
	case WM_MOUSEWHEEL:
	  {
		// _xZkqqHx_iClBiCoKiCoHiDfIiDeOiDiNiBfLiDiLiDiBiDgCiDfKiBfLiDfHiCmNiBeBiDfIiDeOiDiNiBfLiDiLiDgPiBfLiCpAjBiAiNoMiClFiClNiPoKiNiHiCmN_xHqqkZx_
		// _xZkqqHx_iDfIiDeOiDiNiBfLiDiLiDgPiBfLiCmMiDeFiDeCiDjDiDgIiDeFiCmJjClMjAnKjBjHjFhEiClDiCoKiCoJiClNiCnPiBeBiClBiClBiCmNiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
		// _xZkqqHx_iDhNiDeFiDfIiCmMiDhKiDeDiBfLiDiLjBiAiNoMiCmIiCmHiCmFiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_

		// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiBeBiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmFiOoGjDlOiBeC_xHqqkZx_
		CPoint ptMouse;
		::GetCursorPos(&ptMouse);
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiOhBiDeFiDeCiDjDiDgIiDeFiCmFiBeBiDhNiDeFiDfIiImKjChFiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOoGjDlOiBeC_xHqqkZx_
//		// _xZkqqHx_jEpBjFfMiOkGiBeBjDkHjGlOiCmIiDeFiDeCiDjDiDgIiDeFiCmNjGlDiOiLiClHiCoJiBeC_xHqqkZx_
//		HWND hwndPoint = ::FFWindowFromPoint(m_hWnd, m_stWndGetScroll, ptMouse, CWP_SKIPINVISIBLE | CWP_SKIPTRANSPARENT);
//		if (hwndPoint != NULL)
//		{
//			::SendMessage(hwndPoint, pMsg->message, pMsg->wParam, pMsg->lParam);
//			return TRUE;
//		}
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		// _xZkqqHx_iDgGiDfIiDeOiDgHiDgCiDhGiPoDiCmMiDhNiDeFiDfIiImKjChFiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOoGjDlOiBeC_xHqqkZx_
		// _xZkqqHx_jEpBjFfMiOkGiBeBjDkHjGlOiCmIiDeFiDeCiDjDiDgIiDeFiCmNjGlDiOiLiClHiCoJiBeC_xHqqkZx_
		// m_hWnd_xZkqqHx_iCkJiCoHiMjPiNpFiClFiCmEiCmNiCkCiCkPiCmIiCkCiBeCiDhEiDiNiBfLiDgFiDeCiDjDiDePiCmMiDeFiDeCiDjDiDgIiDeFiBeBiDgDiBfLiDiLiDgPiBfLiCmMiDhGiDiLiDfPiDeFiDjDiCmIiCmHiCmN_xHqqkZx_
		// m_hWnd _xZkqqHx_iCmMiOhBiDeFiDeCiDjDiDgIiDeFiCmFiCmNiCmIiCkCiClNiCnPiBeBiClBiCoKiCoHiCmMiDeFiDeCiDjDiDgIiDeFiCkK_xHqqkZx_m_hWnd_xZkqqHx_iPoDiCmJiCkJiCkJiCoJiCmG_xHqqkZx_
		// _xZkqqHx_iCmFiDhKiDeDiBfLiDiLiCkKjDkOiNoMiClFiCmIiCkNiCmIiCoJiBeC_xHqqkZx_
		HWND hwndPoint = ::FFWindowFromPoint(::GetDesktopWindow(), ptMouse, CWP_SKIPINVISIBLE | CWP_SKIPTRANSPARENT);
		if (hwndPoint != NULL &&
			hwndPoint != m_hWnd &&
			m_stWndGetScroll.find(hwndPoint) != m_stWndGetScroll.end())
		{
			::SendMessage(hwndPoint, pMsg->message, pMsg->wParam, pMsg->lParam);
			return TRUE;
		}
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
		break;
	  }
	}
//----- 06.03.03 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_iDeMiBfLiDfPiDeFiDjDiCmMiPoKiNiHiBeC_xHqqkZx_
	if (pMsg->message == WM_KEYDOWN)
	{
// 06.10.11 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//		// _xZkqqHx_iDeMiBfLiDfPiDeFiDjD_xHqqkZx_ && _xZkqqHx_iOkJjDkO_xHqqkZx_ALT && not CTRL-KEY && not MENU-KEY && NotCapture _xZkqqHx_iCmMiPoKiNiHiBeC_xHqqkZx_
		// _xZkqqHx_iDeMiBfLiDfPiDeFiDjD_xHqqkZx_ && _xZkqqHx_iOkJjDkO_xHqqkZx_ALT && not CTRL-KEY not SHIFT-KEY && not MENU-KEY && NotCapture _xZkqqHx_iCmMiPoKiNiHiBeC_xHqqkZx_
		if (g_pReg->GetIsAutoAlt() &&
			0 <= GetKeyState(VK_CONTROL) &&
// 06.10.11 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
			0 <= GetKeyState(VK_SHIFT) &&
			0 <= GetKeyState(VK_MENU) &&
			::FFGetCapture() == NULL &&
			(pMsg->hwnd == g_pView->m_hWnd || pMsg->hwnd == m_hWnd ||
			 m_stAutoAltWindow.find(pMsg->hwnd) != m_stAutoAltWindow.end()))
		{
			// _xZkqqHx_iJlMjBhKiDeMiBfLiCpAiOmAiNnLiCmMiDeMiDiDiDiJiDeOiDfOiCmJjFmPiKlHiBeC_xHqqkZx_
			UINT dwAft = ::MapVirtualKey(pMsg->wParam, 2);
			// _xZkqqHx_jCmKiPoNiCmMiDeMiBfLiBgJiDfIiDhJiBfLiDfIiDeMiBfLiCkJiCoH_xHqqkZx_~_xZkqqHx_iCmMiOjPiBgKiCmMiPoKiNiHiBeC_xHqqkZx_
			if (0x20 <= dwAft && dwAft <= 0x7f)
			{
				// ALT_xZkqqHx_iDeMiBfLiCpAiJjPiClFiCmIiCkKiCoHiCmMiDeMiBfLiCmGiClFiCmEiDiBiDgCiDfKiBfLiDfHiCpAjDiKiClAiCoJiBeC_xHqqkZx_
// 05.10.03 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//				PostMessage(WM_SYSCOMMAND, SC_KEYMENU, dwAft);
				SendMessage(WM_SYSCOMMAND, SC_KEYMENU, dwAft);
				return TRUE;
			}
		}
		//----- _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDeMiDiDiDhGiDgAiDiDjCiGiCmMiDfIiDgJiDgCiDhG_xHqqkZx_ ON/OFF _xZkqqHx_iCmMiPiIjHjN_xHqqkZx_ -----
		// _xZkqqHx_iDeMiDiDiDhGiDgAiDiDjCiGiImIiKePiCmNiBeBiDeMiBfLiDhLiBfLiDgIiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmJiCoGiCmBiCmEiPiIjHjNiClDiCoKiCoJiClBiCmGiCmJjCiNiInDiBeC_xHqqkZx_
		if (g_pView != NULL && ::FFGetCapture() != NULL &&
			::MapVirtualKey(pMsg->wParam, 2) == L' ' && GetKeyState(VK_CONTROL) < 0)
		//----- _xZkqqHx_iDeMiDiDiDhGiDgAiDiDjCiGiKiOiCmCiDfIiDhJiBfLiDfIiDeMiBfLiKiOiCmCiDfCiDjDiDgHiDiNiBfLiDiLiDeMiBfLiCmMiPoKiNiH_xHqqkZx_ -----
		{
			g_pView->SendMessage(WM_COMMAND, ID_OPTION_IS_SNAP_EFFECTIVE, (LPARAM)0);
			return TRUE;
		}
//----- 06.10.11 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
		//----- _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDeMiDiDiDhGiDgAiDiDjCiGiCmMjGoOiIpDjHlMjCfLiDeNiDiDiDgCiDhG_xHqqkZx_ ON/OFF _xZkqqHx_iCmMiPiIjHjN_xHqqkZx_ -----
		// _xZkqqHx_iDeMiDiDiDhGiDgAiDiDjCiGiImIiKePiCmNiBeBiDeMiBfLiDhLiBfLiDgIiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCmJiCoGiCmBiCmEiPiIjHjNiClDiCoKiCoJiClBiCmGiCmJjCiNiInDiBeC_xHqqkZx_
		if (g_pView != NULL && ::FFGetCapture() != NULL &&
			::MapVirtualKey(pMsg->wParam, 2) == L' ' && GetKeyState(VK_SHIFT) < 0)
		//----- _xZkqqHx_iDeMiDiDiDhGiDgAiDiDjCiGiKiOiCmCiDfIiDhJiBfLiDfIiDeMiBfLiKiOiCmCiDfCiDjDiDgHiDiNiBfLiDiLiDeMiBfLiCmMiPoKiNiH_xHqqkZx_ -----
		{
			g_pView->SendMessage(WM_COMMAND, ID_OPTION_IS_ARROW_GAP_EFFECTIVE, (LPARAM)0);
			return TRUE;
		}
//----- 06.10.11 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
		//----- _xZkqqHx_iDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjGlDiOiLiClHiCoJiPoKiNiH_xHqqkZx_(_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMiDfJiBfLiDiAjDjJ_xHqqkZx_) -----
		if (m_bIgnoreAccelTable)
		{
			// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAjGlDiMpIiCmJiClHiCoJiClNiCnPiBeBiNfIiCmJiPoDiCmM_xHqqkZx_Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeC_xHqqkZx_
			return CWnd::PreTranslateMessage(pMsg);
		}
	}
	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeC_xHqqkZx_
	if (BASE_CLASS::PreTranslateMessage(pMsg))
	{
		return TRUE;
	} else
	if (WM_KEYFIRST <= pMsg->message &&
		pMsg->message <= WM_KEYLAST &&
		m_hUserAccelerator != NULL)
	{
		// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDeBiDeOiDfKiDiJiDiMiBfLiDfOiCpAiPiIjHjNiBeC_xHqqkZx_
		return ::TranslateAccelerator(m_hWnd, m_hUserAccelerator, pMsg) != 0;
	} else
	if (pMsg->message == WM_XBUTTONUP)
	//----- X_xZkqqHx_iDhLiDfOiDjD_xHqqkZx_UP_xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
	{
		// View_xZkqqHx_iCmJiDiBiDgCiDfKiBfLiDfHiCpAjDfNjBjHiBeCiClBiCoKiCpAiClFiCmIiCkCiCmGiBeB_xHqqkZx_View_xZkqqHx_iImIiKePiCmFiCmM_xHqqkZx_
		// X_xZkqqHx_iDhLiDfOiDjDiDeOiDiKiDgCiDeOiCkK_xHqqkZx_View_xZkqqHx_iCmJiNhDiCkJiCmIiCkCiBeC_xHqqkZx_
		if (g_pView != NULL)
			g_pView->SendMessage(pMsg->message, pMsg->wParam, pMsg->lParam);
		return TRUE;
	} else
	{
		return FALSE;
	}
} // CFCMainFrame::PreTranslateMessage.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnCmdMsg
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_ _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAjDlBiCkLiDgGiDeCiDfIiDhAiDgCiDgAiClFiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_iDhHiDiLiDhGiOfBiPmGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCkKiPiIjHjNiClDiCoKiClNiCmGiCkLiCmN_xHqqkZx_ 0 _xZkqqHx_iImIiKePiBeCiClLiCoKiImIiKePiCmN_xHqqkZx_ 0_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::OnCmdMsg (UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo)
{
	if (pHandlerInfo == NULL)
	{
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		BOOL bSucceed = FALSE;
//		if (ID_RBTN_BEGIN_MARK < nID && nID < ID_RBTN_END_MARK)
//		{
//			if (IsWindow(m_hWndOnCmdMsg))
//				bSucceed = CWnd::FromHandle(m_hWndOnCmdMsg)->OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);
//		}
//		if (bSucceed)
//			return TRUE;
//		else
//			m_hWndOnCmdMsg = NULL;
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----

		if (m_hWndOnCmdMsg != NULL)
		//----- _xZkqqHx_iJeFiDhLiDfOiDjDiDfCiDhNiDjDiDgIjBjHjFhEjAoGiCkKjAnNjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
		{
			// OnCmdMsg_xZkqqHx_iCmMjDgPjIfOiCmMiJpAiPjMiOhHiOkGiCmMiPoKiNiHiCmNiJpAiPjMiClHiCoJiBeC_xHqqkZx_
			if (nID == ID_RBTN_END_MARK)
				m_hWndOnCmdMsg = NULL;
			else
			if (!IsWindow(m_hWndOnCmdMsg))
				m_hWndOnCmdMsg = NULL;
											// _xZkqqHx_jBjHjFhEjAoGiCkKjHeMiMpIiCkJjClCiCnHiCoJiBeC_xHqqkZx_
											// _xZkqqHx_jBjHjFhEjAoGiCkKiDfPiDeDiDeBiDiNiDePjDjJiBeBiIoKiOjOjDeJiCmIiDeFiDeCiDjDiDgIiDeFiCmMiPoKiNiHiCkKiCkAiCoJiClNiCnPiBeC_xHqqkZx_
		}
		if (ID_RBTN_BEGIN_MARK < nID && nID < ID_RBTN_END_MARK)
		//----- _xZkqqHx_iJeFiDhLiDfOiDjDiDfCiDhNiDjDiDgIiCmMiPoKiNiH_xHqqkZx_ -----
		{
			// _xZkqqHx_jBjHjFhEjAoGiCkKiOhHjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmNiBeB_xHqqkZx_OnCmdMsg _xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
			if (m_hWndOnCmdMsg != NULL &&
				CWnd::FromHandle(m_hWndOnCmdMsg)->OnCmdMsg(nID, nCode, pExtra, pHandlerInfo))
				return TRUE;
		}
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	}
	return BASE_CLASS::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);
} // CFCMainFrame::OnCmdMsg.

//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::DestroyWindow
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiNoNiPjMiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCMainFrame::DestroyWindow ()
//{
//	// _xZkqqHx_iDeBiDhGiDiKiCmJiDeFiDeCiDjDiDgIiDeFiNoNiPjMiCpAjCmKjCgNiBeC_xHqqkZx_
//	FFGetApp()->PreDestroyWindow();
//	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	return CFrameWnd::DestroyWindow();
//} // CFCMainFrame::DestroyWindow.
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnBroadcastHwndMsg
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	BroadcastHwndMsg _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmNiBeBiDeBiDhGiDiKiCmMiLeOjDkOiOjOiCmGiPeJjHlJiOjOiCmJiBeB_xHqqkZx_
// *			_xZkqqHx_iMlLiNnNiLeOjDkOiClDiCoKiCmEiCkCiCoJjDkPiIoKiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmJjBmOiClFiCmE_xHqqkZx_
// *			_xZkqqHx_iDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiClDiCoKiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeB_xHqqkZx_BroadcastHwndMsg _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmMiPiIjHjNiKnGjAjEiCmFiCkAiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCpAiOhHjCoIiBeCjCmKiPoNiCmN_xHqqkZx_ time_xZkqqHx_iKnGjAjEiCmMjCgMiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jDkPiIoKiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmM_xHqqkZx_HWND_xZkqqHx_iIoKjHjHiCpAiNoMjAkMiClHiCoJiClNiCnPiCmJiBeBiClBiCmMiPiIjHjNiCkK_xHqqkZx_
// *			_xZkqqHx_iCkAiCoJiBeCiIoKjHjHiNoMjAkMiCmMiOoIiPiHiBeC_xHqqkZx_
//			_xZkqqHx_iCfAiBeEiCkAiCoJiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCkKiLeOjDkOiBeC_xHqqkZx_BroadcastHwndMsg _xZkqqHx_iCpA_xHqqkZx_
//				_xZkqqHx_iDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiBeC_xHqqkZx_
//			_xZkqqHx_iCfBiBeEjBfDiCmEiCmMjDkPiOoNiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmF_xHqqkZx_OnBroadcastHwndMsg_xZkqqHx_iCpAiPiIjHjNiBeC_xHqqkZx_
//				NotifyHwndMsg _xZkqqHx_iCpAiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.09.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnBroadcastHwndMsg (WPARAM wParam, LPARAM lParam)
//{
//	if (m_dwBroadcastIdentify != DWORD(-1))
//	//----- _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCkKjHeMiMpIiCmFiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		if (m_dwBroadcastIdentify != wParam)
//		//----- _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCkKjAfGiClFiCkCiDfCiBfLiDgIiCmGiIoKjChGiClFiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCpAiNfIjAfGiBeC_xHqqkZx_
//			m_dwBroadcastIdentify = wParam;
//			// HWND_xZkqqHx_iIoKjHjHiCpAiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//			m_stBroadcastHwnd.clear();
//		}
//		// HWND _xZkqqHx_iCpAiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiBeC_xHqqkZx_
//		::PostMessage(HWND_BROADCAST, GetNotifyHwndMsg(), wParam, LPARAM(m_hWnd));
//	}
//	return 1;
//} // CFCMainFrame::OnBroadcastHwndMsg.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnNotifyHwndMsg
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	NotifyHwndMsg _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmNiBeBiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCkK_xHqqkZx_BroadcastHwndMsg
// *			_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAiOpDiCkPiOoGiCmBiClNiOjOiCmJiDhFiDiNiBfLiDgIiDeMiDiDiDfIiDgHiClDiCoKiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeB_xHqqkZx_NotifyHwndMsg _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmMiPiIjHjNiKnGjAjEiCmFiCkAiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCpAiOhHjCoIiBeC_xHqqkZx_BroadcastHwndMsg _xZkqqHx_iCmFiOpDiCkPiOoGiCmBiClN_xHqqkZx_
// *					 wParam_xZkqqHx_iCmMjCgMiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmM_xHqqkZx_HWND_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.09.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnNotifyHwndMsg (WPARAM wParam, LPARAM lParam)
//{
//	if (m_dwBroadcastIdentify != DWORD(-1))
//	//----- _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCkKjHeMiMpIiCmFiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		if (m_dwBroadcastIdentify != wParam)
//		//----- _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCkKjAfGiClFiCkCiDfCiBfLiDgIiCmGiIoKjChGiClFiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iOkPjFmKiDfCiBfLiDgIiCpAiNfIjAfGiBeC_xHqqkZx_
//			m_dwBroadcastIdentify = wParam;
//			// HWND_xZkqqHx_iIoKjHjHiCpAiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//			m_stBroadcastHwnd.clear();
//		}
//		// HWND _xZkqqHx_iCpAiIoKjHjHiCmJjDgPjIfOiBeCiOkJjFkKiCmMiDeFiDeCiDjDiDgIiDeFiCmNjDgPjIfOiClFiCmIiCkCiBeC_xHqqkZx_
//		if (HWND(lParam) != m_hWnd)
//			m_stBroadcastHwnd.insert(HWND(lParam));
//	}
//	return 1;
//} // CFCMainFrame::OnNotifyHwndMsg.
//----- 03.09.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnPluginCommand
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiJiDePiDeDiDjDiDfCiDhNiDjDiDgIiCmMiCkCiClIiCoKiCkJiCkKjBeJjBpAiClDiCoKiClNiCmGiCkLiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nCmdID	:_xZkqqHx_jBeJiCmOiCoKiClNiDgDiBfLiDiLiCmMiDiKiDfMiBfLiDfI_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnPluginCommand (UINT nCmdID)
{
	FCExport::OnCommand(nCmdID);
} // CFCMainFrame::OnPluginCommand.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdatePluginCommand
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiJiDePiDeDiDjDiDfCiDhNiDjDiDgIiCmMjFfMiOkGiPpDjBnEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCmMjFfMiOkGjFmPiNfIjFmPjAjEiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdatePluginCommand (CCmdUI* pCmdUI)
{
	FCExport::OnUpdateCommandUI(pCmdUI);
} // CFCMainFrame::OnUpdatePluginCommand.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserObjSelectChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMjBeJjBpAiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJ_xHqqkZx_View_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	1
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			01.01.06 Fukushiro M. CommonDrawFrame_xZkqqHx_iCkJiCoHiInKjDkOiBeC_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserObjSelectChanged (WPARAM, LPARAM)
{
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jBeJjBpAjFmPiNfIiCpAiPiIjHjNiBeC_xHqqkZx_
//	OnUpdateSelected();
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----- 05.06.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDhEiDeIiDjDiDgHiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
//	m_tolBrFont.OnFontUpdated();
////----- 05.06.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	return 1;
} // CFCMainFrame::OnUserObjSelectChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserCmdSessionEnded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiPeJjHlJiKnGjAjEiCkKiOmAiNhDiClDiCoKiClNiOjOiBeB_xHqqkZx_
 *			CommandGate_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	1
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			01.01.06 Fukushiro M. CommonDrawFrame_xZkqqHx_iCkJiCoHiInKjDkOiBeC_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserCmdSessionEnded (WPARAM, LPARAM)
{
	//----- _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiDeMiDiFiBfLiCkJiCoHiBeBjDkPiClGiDiBiDgCiDfKiBfLiDfHiCpAiNoNiPjM_xHqqkZx_ -----
	// _xZkqqHx_iDhBiDfIiDgHiDiKiBfLiDhCiDiFiBfLiDeBjDjJiCmFiBeBjIeBjBlBiClFiCmE_xHqqkZx_Redo/Undo_xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiClNiCnPiBeC_xHqqkZx_
	MSG msg;
	while (::PeekMessage(	&msg,
							m_hWnd,
							WM_USER_CMD_SESSION_ENDED,
							WM_USER_CMD_SESSION_ENDED,
							PM_REMOVE));
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jBeJjBpAjFmPiNfIiCpAiPiIjHjNiBeC_xHqqkZx_
//	OnUpdateSelected();
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCpAiNfIjAfGiBeC_xHqqkZx_
//	if (IsUseColorTableBar() && m_bUpdateColorTable)
//	{
//		m_tolBrPenBrush.UpdateItem();
//		m_bUpdateColorTable = FALSE;
//	}
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 03.04.01 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jBePiJpBiCmMiNmEjFfMiOkGiImIiNhOiCmJiDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiCkJiBeI_xHqqkZx_
//	if (m_bIsSheetChanged)
//	{
//		SendMessage(WM_USER_SHEET_CHANGED);
//		// _xZkqqHx_jBePiJpBiCmMiNmEjFfMiOkGiImIiNhOiCmJiDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiCkJiBeI_xHqqkZx_
//		m_bIsSheetChanged = FALSE;
//	}
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 03.04.01 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	return 1;
} // CFCMainFrame::OnUserCmdSessionEnded.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserCommandCalled
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiCkKiOmAiNhDiClDiCoKiClNiOjOiBeB_xHqqkZx_CommandGate_xZkqqHx_iCkJiCoH_xHqqkZx_ SendMessage_xZkqqHx_iCmFiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDfCiDhNiDjDiDgIiDfCiBfLiDgIiCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_iDfCiDhNiDjDiDgIiClCiCmGiCmMiDhAiDiJiDiBiBfLiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	1
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.03.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserCommandCalled (WPARAM wParam, LPARAM lParam)
{
	//----- _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCmMiNfIjAfG_xHqqkZx_ -----
	switch (wParam)
	{
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	case FD_CMD_INSERT1_S_COLOR:			// _xZkqqHx_iCfAiChCjAeGjBhNjDpMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_DELETE1_S_COLOR:			// _xZkqqHx_iCfAiChCjAeGiNoNiPjMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_MODIFY1_S_COLOR:			// _xZkqqHx_iCfAiChCjAeGiPeDjAlDiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_RE_ORDER_S_COLOR:			// _xZkqqHx_iChCjAeGjFmAiCnHjBnGiCkGiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_INSERT1_BRUSH_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhFiDiJiDfGjBhNjDpMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_DELETE1_BRUSH_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhFiDiJiDfGiNoNiPjMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_MODIFY1_BRUSH_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhFiDiJiDfGiPeDjAlDiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_RE_ORDER_BRUSH_REGISTER:	// _xZkqqHx_jDgPjIfOiDhFiDiJiDfGjFmAiCnHjBnGiCkGiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_INSERT1_PEN_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhJiDjDjBhNjDpMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_DELETE1_PEN_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhJiDjDiNoNiPjMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_MODIFY1_PEN_REGISTER:		// _xZkqqHx_iCfAjDgPjIfOiDhJiDjDiPeDjAlDiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_RE_ORDER_PEN_REGISTER:		//	_xZkqqHx_jDgPjIfOiDhJiDjDjFmAiCnHjBnGiCkGiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	// _xZkqqHx_iDeKiDiJiBfLiDgFiBfLiDhFiDiLiDgDiBfLiDiLiDgPiBfLiCmMiNfIjAfGiDhEiDiJiDePiCpAjAnNjCoIiBeC_xHqqkZx_
//		m_bUpdateColorTable = TRUE;
//		break;
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 03.04.01 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	case FD_CMD_INSERT1_SHEET:				// _xZkqqHx_iCfAiDfGiBfLiDgHiCpAjCmHiJmBiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_DELETE1_SHEET:				// _xZkqqHx_iCfAiDfGiBfLiDgHiCpAiNoNiPjMiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_MODIFY1_SHEET:				// _xZkqqHx_iCfAiDfGiBfLiDgHiCpAjFmPiNfIiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//	case FD_CMD_RE_ORDER_SHEET:				// _xZkqqHx_iDfGiBfLiDgHiCmMjFmAiCnHjBnGiCkGiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
//		// _xZkqqHx_jBePiJpBiCmMiNmEjFfMiOkGiImIiNhOiCmJiDfGiBfLiDgHiCkKjFmPiNfIiClDiCoKiClNiCkJiBeI_xHqqkZx_
//		m_bIsSheetChanged = TRUE;
//		break;
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 03.04.01 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 05.04.14 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	case FD_CMD_MODIFY1_PICT_ARROW:			// _xZkqqHx_iDhDiDeOiDgAiDiDjGoOiIpDiPeDjAlDiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
		g_pDoc->OnPictArrowModified(PictArrowID(lParam));
		break;
	case FD_CMD_MODIFY_ARROW:				// _xZkqqHx_jCmKiPoNjGoOiIpDiPeDjAlDiDfCiDhNiDjDiDgIiBeC_xHqqkZx_
		g_pDoc->ObjID2Object(DWORD(lParam))->OnArrowModified();
		break;
//----- 05.04.14 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	}
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	return 1;
} // CFCMainFrame::OnUserCommandCalled.

//----- 02.12.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserSetSheetAndCenter
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeKiDiMiDjDiDgHiDfGiBfLiDgHiCmGjCiGjAfDiNmAjFfHiCpAjFmPiNfIiClHiCoJiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDfGiBfLiDgH_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:MAKELPARAM(short(mmX), short(mmY)) _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.05.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserSetSheetAndCenter (WPARAM wParam, LPARAM lParam)
//{
//	SheetID stid = SheetID(wParam);
//	mmetol mmX = real(short(LOWORD(lParam)));
//	mmetol mmY = real(short(HIWORD(lParam)));
//	g_pView->SetScrollCenter(DBLPoint(mmX, mmY), stid);
//	return 1;
//} // CFCMainFrame::OnUserSetSheetAndCenter.
//----- 02.12.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.09.25 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserSetSheetAndCenterL
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeKiDiMiDjDiDgHiDfGiBfLiDgHiCmGjCiGjAfDiNmAjFfHiBeBiDfJiBfLiDiAjCgMiCpAjFmPiNfIiClHiCoJiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:FCSheetCanvasPos_xZkqqHx_iNfMjBkCjBmMiDeJiDhFiDfHiDeGiDeOiDgHiCmMiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:FCSheetCanvasPos_xZkqqHx_iNfMjBkCjBmMiDeJiDhFiDfHiDeGiDeOiDgHiCnGiCmMiDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	lParam_xZkqqHx_iCmFiOhHjCoIiClDiCoKiClN_xHqqkZx_FCSheetCanvasPos_xZkqqHx_iNfMjBkCjBmMiDeJiDhFiDfHiDeGiDeOiDgHiCnGiCmM_xHqqkZx_
// *			_xZkqqHx_iDhMiDeDiDjDiDfOiCmNiBeBiClBiClBiCmFiJpAjFpKiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.12.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserSetSheetAndCenterL (WPARAM wParam, LPARAM lParam)
//{
//	FCSheetCanvasPos* pSCPos = (FCSheetCanvasPos*)lParam;
//	g_pView->SetScrollCenter(DBLPoint(pSCPos->m_mmX, pSCPos->m_mmY),
//							 pSCPos->m_stid,
//							 pSCPos->m_lZoom256, pSCPos->m_bRedraw);
//	// pSCPos_xZkqqHx_iCpAiJpAjFpKiClHiCoJiBeC_xHqqkZx_
//	FCSheetCanvasPos::Free(pSCPos);
//	return 1;
//} // CFCMainFrame::OnUserSetSheetAndCenterL.
//----- 03.09.25 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 03.09.25 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserImportFile
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDhEiDeAiDeDiDiLiCpAiDeDiDjDiDhMiBfLiDgHiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lParam	:_xZkqqHx_iDhEiDeAiDeDiDiLjGlMiCnGiCmMiDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *					 _xZkqqHx_jBjHjAeNiMlDiCmF_xHqqkZx_ new _xZkqqHx_iDeJiDhJiDiMiBfLiDfOiCmFiKgNjFnLiClHiCoJiBeC_xHqqkZx_
// *					 _xZkqqHx_iClBiClBiCmFiJpAjFpKiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserImportFile (WPARAM wParam, LPARAM lParam)
//{
//	wchar_t* wcpFilePath = (wchar_t*)lParam;
//	try
//	{
//		g_pDoc->ImportFile(wcpFilePath, NULL);
//		g_pDoc->SetIsReadOnly(FALSE);
//		// _xZkqqHx_iDhCiDiFiBfLiCmMiPiJiKpKiJlLiPiIjHjNiCpAiMmEiCnBiPgPiClHiBeC_xHqqkZx_
//		if (g_pView != NULL) g_pView->InitContents();
//		// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiPiJiKpKiJlLiPiIjHjNiCpAiMmEiCnBiPgPiClHiBeC_xHqqkZx_
//// 03.07.18 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
////		if (g_pFrame != NULL) FFGetMainWnd()->InitContents();
//		InitContents();
//	} catch (CException* e)
//	{
//		delete wcpFilePath;
//		throw e;
//	}
//	delete wcpFilePath;
//	return 1;
//} // CFCMainFrame::OnUserImportFile.
//----- 03.09.25 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserExportFile
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDhEiDeAiDeDiDiLiCpAiDeHiDeOiDfIiDhMiBfLiDgHiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lParam	:_xZkqqHx_iDhEiDeAiDeDiDiLjGlMiCnGiCmMiDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *					 _xZkqqHx_jBjHjAeNiMlDiCmF_xHqqkZx_ new _xZkqqHx_iDeJiDhJiDiMiBfLiDfOiCmFiKgNjFnLiClHiCoJiBeC_xHqqkZx_
// *					 _xZkqqHx_iClBiClBiCmFiJpAjFpKiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserExportFile (WPARAM wParam, LPARAM lParam)
//{
//	wchar_t* wcpFilePath = (wchar_t*)lParam;
//	delete wcpFilePath;
//	return 1;
//} // CFCMainFrame::OnUserExportFile.
//----- 03.06.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.08.28 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ (TrueType_xZkqqHx_iCmFiCmNiCmIiCkCiDhEiDeIiDjDiDgHiCkKiOgHiCoNiCoKiCmEiClFiCnMiCkEiPoKiNiHiCkKiCkAiCoJ_xHqqkZx_)-----
/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserFontNotFound
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhEiDeIiDjDiDgHiCkKjBlGiNnNiClJiClIiBeBjBoDiCoNiCoIiCmMiDhEiDeIiDjDiDgHiCmJjChFiCkLiKlHiCkGiClNiPoKiNiHiCmJiMmEiCmOiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.08.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserFontNotFound (WPARAM, LPARAM)
{
#define FD_USER_FONT_ERR_SIZE CSize(400, 100)
	// _xZkqqHx_iDhEiDeIiDjDiDgHjChFiKlHiCmMiDeHiDiJiBfLiCkKjBlGiNnNiClFiCmIiCkCiPoKiNiHiCmNjFjMiLeBiBeC_xHqqkZx_
	if (!FFIsErrFontInfo()) return 1;

	//----- _xZkqqHx_iCnMiClIiBeBiDeDiDjDiDfIiDgHiBfLiDiLiClDiCoKiCmEiCkCiCmIiCkCjFlGiOjKiDfKiDgCiDgHiCpAjClCiCnHiCoJ_xHqqkZx_ -----
	set<BYTE> stErrCharSet;
	vector<FCErrFontInfo> vFontInfo;
// 06.05.22 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	FFGetAndClearErrFontInfo(vFontInfo);
	g_pDoc->GetAndClearErrFontInfo(vFontInfo);
	vector<FCErrFontInfo>::const_iterator i;
	for (i = vFontInfo.begin(); i != vFontInfo.end(); i++)
	{
		// _xZkqqHx_iDhEiDeIiDjDiDgHiCmMjChFiCkLiKlHiCkGiCmFiBeBjFlGiOjKiDfKiDgCiDgHiCkKiInJiCmIiCoJiPoKiNiHiCmNiBeB_xHqqkZx_
		// _xZkqqHx_jDkPiClGjFlGiOjKiDfKiDgCiDgHiCmMiDhEiDeIiDjDiDgHiCkKiIoKiCmCiCoAjBlGiNnNiClFiCmIiCkCiCmGiCkCiCkEiClBiCmGiBeC_xHqqkZx_
		if ((*i).m_byOldCharSet != (*i).m_byNewCharSet)
			stErrCharSet.insert((*i).m_byOldCharSet);
	}
	if (!stErrCharSet.empty())
	{
		// IDS_ERR_MSG_CHARSET_NOT_FOUND =
		// "_xZkqqHx_iBhF_xHqqkZx_%s_xZkqqHx_iBhGiCmMiDhEiDeIiDjDiDgHiCkKiDeDiDjDiDfIiDgHiBfLiDiLiClDiCoKiCmEiCkCiCnMiClJiCpBiBeC_xHqqkZx_"
		WString strFormat;
		strFormat.LoadString(IDS_ERR_MSG_CHARSET_NOT_FOUND);
		// _xZkqqHx_iDeDiDjDiDfIiDgHiBfLiDiLiClDiCoKiCmEiCkCiCmIiCkCjBfDiCmEiCmMjFlGiOjKiDfKiDgCiDgHiCmJiKnGiClFiCmEiBeB_xHqqkZx_
		// _xZkqqHx_iJpMiNhDiCmFiCmCiCmIiCkCiCmFiBeBiDeHiDiJiBfLiDiBiDgCiDfKiBfLiDfHiCpAiNfMjAkMiClHiCoJiBeC_xHqqkZx_
		WString strMessage;
		set<BYTE>::const_iterator iCt;
		for (iCt = stErrCharSet.begin(); iCt != stErrCharSet.end(); iCt++)
		{
			WString strTmp;
			strTmp.Format(strFormat, FFCharsetToName(*iCt));
			strMessage += strTmp;
			strMessage += L"\r\n";
		}
		FFErrorBox(strMessage, FD_USER_FONT_ERR_SIZE);
	}

	if (!vFontInfo.empty())
	//----- _xZkqqHx_iDhEiDeIiDjDiDgHiCmJjChFiCkLiKlHiCkGiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// "TrueType_xZkqqHx_iDhEiDeIiDjDiDgHiBhF_xHqqkZx_%s_xZkqqHx_iBhGiCkKiDeDiDjDiDfIiDgHiBfLiDiLiClDiCoKiCmEiCkCiCnMiClJiCpBiBeC_xHqqkZx_\r\n_xZkqqHx_iBhF_xHqqkZx_%s_xZkqqHx_iBhGiCpAiBhF_xHqqkZx_%s_xZkqqHx_iBhGiCmJjChFiCkLiKlHiCkGiCnMiClFiClNiBeC_xHqqkZx_"
		WString strFormat;
		strFormat.LoadString(IDS_ERR_MSG_FONT_NOT_FOUND);
		WString strMessage;
		for (i = vFontInfo.begin(); i != vFontInfo.end(); i++)
		{
			WString strTmp;
			strTmp.Format(strFormat, (*i).m_wstrOldFaceName.c_str(),
									(*i).m_wstrOldFaceName.c_str(),
									(*i).m_wstrNewFaceName.c_str());
			strMessage += strTmp;
			strMessage += L"\r\n";
		}
		FFErrorBox(strMessage, FD_USER_FONT_ERR_SIZE);
	}
	return 1;
} // CFCMainFrame::OnUserFontNotFound.
//----- 02.08.28 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ (TrueType_xZkqqHx_iCmFiCmNiCmIiCkCiDhEiDeIiDjDiDgHiCkKiOgHiCoNiCoKiCmEiClFiCnMiCkEiPoKiNiHiCkKiCkAiCoJ_xHqqkZx_)-----

//----- 03.07.18 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserGetHruler
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAiFjFlNiDiLiBfLiDiJiBfLiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jAiFjFlNiDiLiBfLiDiJiBfLiCpAjFnEiClHiClNiCnPiCmMjFmPjAjEiCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.15 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserGetHruler (WPARAM wParam, LPARAM lParam)
//{
//	CFCCtlBrHRuler** pHRuler = (CFCCtlBrHRuler**)wParam;
//	*pHRuler = m_clbrpHRuler;
//	return 1;
//} // CFCMainFrame::OnUserGetHruler.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserGetVruler
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAiCjClMiDiLiBfLiDiJiBfLiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jAiCjClMiDiLiBfLiDiJiBfLiCpAjFnEiClHiClNiCnPiCmMjFmPjAjEiCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.15 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserGetVruler (WPARAM wParam, LPARAM lParam)
//{
//	CFCCtlBrVRuler** pVRuler = (CFCCtlBrVRuler**)wParam;
//	*pVRuler = m_clbrpVRuler;
//	return 1;
//} // CFCMainFrame::OnUserGetVruler.
//----- 03.07.18 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.04.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserActivateDocument
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFlGiPjBiCpAiDeBiDeOiDgFiDeCiDhFiPpDjBnEiCmJjFmPiNfIiClHiCoJiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserActivateDocument (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_ActivateDocument_xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
//	g_pDoc->ActivateDocument();
//	return 1;
//} // CFCMainFrame::OnUserActivateDocument.
//----- 02.04.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 02.04.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserInactivateDocument
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFlGiPjBiCpAjEpBiDeBiDeOiDgFiDeCiDhFiPpDjBnEiCmJjFmPiNfIiClHiCoJiDiBiDgCiDfKiBfLiDfHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *			lParam	:_xZkqqHx_iJlKiImK_xHqqkZx_2_xZkqqHx_iDgPiDeDiDgH_xHqqkZx_:_xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_ID_xZkqqHx_iBeBiPoDiImK_xHqqkZx_2_xZkqqHx_iDgPiDeDiDgH_xHqqkZx_:Read/Write_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.03.08 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserInactivateDocument (WPARAM wParam, LPARAM lParam)
//{
//	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_InactivateDocument_xZkqqHx_iCpAiOmAiNhDiBeC_xHqqkZx_
//	g_pDoc->InactivateDocument(wParam, LOWORD(lParam), HIWORD(lParam));
//	return 1;
//} // CFCMainFrame::OnUserInactivateDocument.
//----- 02.04.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.05.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserInternetDataAvailable
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeDiDjDiDfOiBfLiDgMiDgCiDgHiCkJiCoHiDhCiDiFiBfLiDeBiDhEiDeIiBfLiDhNiDgCiDgHiDgGiBfLiDfOiCpA_xHqqkZx_
// *			_xZkqqHx_iDhGiDiNiDePiDiMiDfIiDfPiDeFiDjDiDiNiBfLiDgIiClFiCmEiCkCiCoJiPoKiNiHiBeBiIoKjCoIiCmMjHmKiCmMiDgGiBfLiDfOiCkKiDgPiDgCiDhEiDeA_xHqqkZx_
// *			_xZkqqHx_iCmJiDfPiDeFiDjDiDiNiBfLiDgIiClDiCoKiClNiOjOiCmJjAiPiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:BSCF_xZkqqHx_jHpBiLjDiMfOiCmMjCgMiBeCiOjPiCmMjCgMiCmMjIfPjHjNjIgBiCmJiCmIiCoIiCnMiClHiBeC_xHqqkZx_ 
// *				BSCF_FIRSTDATANOTIFICATION
// *					:_xZkqqHx_iOhHjCoIiClDiCoKiClNiDgPiDeDiDjDiDgIjBiAiNoMiCmJiCkIiCkPiCoJiBeBiNmFiPiJiCmM_xHqqkZx_ OnDataAvailable
// *					 _xZkqqHx_iCmMiMmEiCnBiPgPiClFiCmFiCkAiCoJiClBiCmGiCpAiOkGiClFiCnMiClHiBeC_xHqqkZx_
// *				BSCF_INTERMEDIATEDATANOTIFICATION
// *					:_xZkqqHx_iDgPiDeDiDjDiDgIjBiAiNoMiCmM_xHqqkZx_ OnDataAvailable _xZkqqHx_iCmMiMmEiCnBiPgPiClFiCkKjBiAiNoMjDhCjCiG_xHqqkZx_
// *					 _xZkqqHx_iCmMiCoAiCmMiCmFiCkAiCoJiClBiCmGiCpAiOkGiClFiCmEiCkCiCnMiClHiBeC_xHqqkZx_
// *				BSCF_LASTDATANOTIFICATION
// *					:_xZkqqHx_iDgPiDeDiDjDiDgIjBiAiNoMiCmM_xHqqkZx_ OnDataAvailable _xZkqqHx_iCmMiMmEiCnBiPgPiClFiCkKiNmFiMoDiCmM_xHqqkZx_
// *					 _xZkqqHx_iCoAiCmMiCmFiCkAiCoJiClBiCmGiCpAiOkGiClFiCmEiCkCiCnMiClHiBeC_xHqqkZx_ 
// *			lParam	:0	:_xZkqqHx_iDeMiDiDiDgCiDfGiDiFiDhEiDeAiDeDiDiLiCkKjHjIjHhAiJmCjEfMiCmFiCmNiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
// *					 1	:_xZkqqHx_iDeMiDiDiDgCiDfGiDiFiDhEiDeAiDeDiDiLiCkKjHjIjHhAiJmCjEfMiCmFiCkAiCoJiPoKiNiHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserInternetDataAvailable (WPARAM wParam, LPARAM lParam)
//{
//	g_pDoc->OnInternetDataAvailable(wParam, lParam);
//	return 1;
//} // CFCMainFrame::OnUserInternetDataAvailable.
//----- 05.05.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserProceedDocRequest
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	WM_USER_PROCEED_DOC_REQUEST_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAiPiIjHjNiBeC_xHqqkZx_
 *			_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiBiCpAjAnNjCoIiBjFiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiBiCmMjFlGiOjKjHpBiCmMiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiBiCmMjFlGiOjKjHpBiCpAiOhHjCoIiBeCiJpAjFpKiClHiCoJjFeLjHhGiCkKiCkAiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.09.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserProceedDocRequest (WPARAM wParam, LPARAM lParam)
{
	wchar_t* wcpDocRequest = (wchar_t*)lParam;
	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiBiCpAjAnNjCoIiBeC_xHqqkZx_
	g_pDoc->PushBackDocRequest(wcpDocRequest);
	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiBiCmMjFlGiOjKjHpBiCpAiJpAjFpKiBeC_xHqqkZx_
	delete[] wcpDocRequest;
	// _xZkqqHx_iPeJjCfLiCpAjBhNjDpMiBeC_xHqqkZx_
	g_pDoc->PushBackDocRequest(ID_DREQ_END);
	// Document_xZkqqHx_jHhGiLiBiCpAiPiIjHjNiBeC_xHqqkZx_
	g_pDoc->ProceedDocRequest(TRUE);
	return 1;
} // CFCMainFrame::OnUserProceedDocRequest.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserRegisterPluginMenu
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	WM_USER_REGISTER_PLUGIN_MENU_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAiPiIjHjNiBeC_xHqqkZx_
 *			_xZkqqHx_iDhGiDiJiDePiDeDiDjDiDiBiDgKiDiFiBfLiCpAjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_1_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserRegisterPluginMenu (WPARAM wParam, LPARAM lParam)
{
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iJeCiClFiCmMiDiBiDgKiDiFiBfLiCpAiPmBiLiOiClHiCoJiBeC_xHqqkZx_FFInitKeyboardTable _xZkqqHx_iCmMiMoDiCmJiNhDiCkEiClBiCmGiBeC_xHqqkZx_
	GetMenu()->RemoveMenu(GetMenu()->GetMenuItemCount() - 1, MF_BYPOSITION);
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	// _xZkqqHx_iDhGiDiJiDePiDeDiDjDiCkKiCkAiCoJiPoKiNiHiCmNiDiBiDgKiDiFiBfLiCpAjDgPjIfOiBeC_xHqqkZx_
	FCExport::RegisterMenu();
	// _xZkqqHx_iNlGjHjIiCkLiCmJjAnNjCoIiCmIiCoHiCmOiBeBiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
	if (g_pReg->GetIsLeftHand())
		::RightByLeftHand(GetMenu()->m_hMenu, TRUE);
	// _xZkqqHx_jCfKiPgLiDiBiDgKiDiFiBfLiCmIiCoHiCmOiBeBiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
	if (g_pReg->GetIsShortMenu())
		::ShortenMenu(GetMenu()->m_hMenu);
	// _xZkqqHx_iDiBiDgKiDiFiBfLiDgPiBfLiCpAiNmEjFgAiJoGiBeC_xHqqkZx_
	DrawMenuBar();
	return 1;
} // CFCMainFrame::OnUserRegisterPluginMenu.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserInvalidOleObject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmJiDeHiDiJiBfLiCkKiCkAiCmBiClNiPoKiNiHiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserInvalidOleObject (WPARAM, LPARAM)
{
	// _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiDeMiDiFiBfLiCkJiCoHiBeBjDkPiClGiDiBiDgCiDfKiBfLiDfHiCpAiNoNiPjMiBeC_xHqqkZx_
	MSG msg;
	while (::PeekMessage(&msg, m_hWnd, WM_USER_INVALID_OLE_OBJECT,
						WM_USER_INVALID_OLE_OBJECT, PM_REMOVE));
	// IDS_ERR_MSG_INVALID_OLE_OBJECT = "_xZkqqHx_iKpEiCmCiCkJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmJiDeHiDiJiBfLiCkKiCkAiCoIiCnMiClHiBeC_xHqqkZx_"
	FFErrorBox(IDS_ERR_MSG_INVALID_OLE_OBJECT);
	return 1;
} // CFCMainFrame::OnUserInvalidOleObject.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserTextSelectChanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgFiDeMiDfIiDgHiCmMjBeJjBpAjEmNiImNiCkKjFmPiNfIiClDiCoKiClNiPoKiNiHiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserTextSelectChanged (WPARAM, LPARAM)
{
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	m_tolBrFont.OnFontUpdated();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
//----- 05.07.02 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	return 1;
} // CFCMainFrame::OnUserTextSelectChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserLayerUpdated
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiMiDeDiDiEiBfLiCkKiNfIjAfGiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.07.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserLayerUpdated (WPARAM wParam, LPARAM lParam)
{
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
	return 1;
} // CFCMainFrame::OnUserLayerUpdated.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::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_>	05.07.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserSheetChanged (WPARAM wParam, LPARAM lParam)
{
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
	return 1;
} // CFCMainFrame::OnUserSheetChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::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_>	05.07.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserCurrentSheetChanged (WPARAM wParam, LPARAM lParam)
{
	// _xZkqqHx_jBfDiCmEiCmMiDfCiDjDiDgHiDiNiBfLiDiLiDgPiBfLiCmJiDiBiDgCiDfKiBfLiDfHiCpAjCmKjCgNiClHiCoJiBeC_xHqqkZx_
	PostMessageToControlBars();
	return 1;
} // CFCMainFrame::OnUserCurrentSheetChanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserViewSizingBarVisible
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiCoJiDgPiBfLiBgJiDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeB_xHqqkZx_
 *			_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBgKiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjFmPiNfIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDgPiBfLiCpAjDmBjCoIiClHiCoJiDfCiDhNiDjDiDgIiCpAiOhHjCoIiBeC_xHqqkZx_
 *				ID_VIEW_STATUS_BAR			:_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_TOOLBAR_FUNCTION_KEY:_xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_CHIP_STORE_VISIBLE	:_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeC_xHqqkZx_
 *				ID_VIEW_HTREE_VISIBLE		:_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserViewSizingBarVisible (WPARAM wParam, LPARAM lParam)
{
	OnViewSizingBarVisible(wParam);
	return 1;
} // CFCMainFrame::OnUserViewSizingBarVisible.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserFirstExecute
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iNmFiPiJiCmMiLeOjDkOiOjOiCmJiBeBiDiBiDeDiDjDiDeFiDeCiDjDiDgIiDeFjFfMiOkGjClMjBePiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jGkCiOgHjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnUserFirstExecute (WPARAM, LPARAM)
{
	OnFirstExecute();
	return 1;
} // CFCMainFrame::OnUserFirstExecute.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnViewSizingBar
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiCoJiDgPiBfLiBgJiDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeB_xHqqkZx_
 *			_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBgKiCmMjFfMiOkGiBeFjEpBjFfMiOkGiDfCiDhNiDjDiDgIiCkJiCoHiOmAiNhD_xHqqkZx_
 *			_xZkqqHx_iClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nID	:_xZkqqHx_iDfCiDhNiDjDiDgIiCpAiOhHjCoIiBeCiImIiJlKiCmMiCfDiCmCiCkKiCkAiCoIiCkGiCoJiBeC_xHqqkZx_
 *				ID_VIEW_STATUS_BAR			:_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_TOOLBAR_FUNCTION_KEY:_xZkqqHx_iDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeC_xHqqkZx_
 *				ID_VIEW_CHIP_STORE_VISIBLE	:_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeC_xHqqkZx_
 *				ID_VIEW_HTREE_VISIBLE		:_xZkqqHx_jHjKjHpAiNfMjBkCiDhCiDiFiBfLiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJ_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iKgFiDfCiDhNiDjDiDgIiCkJiCoHiOmAiNhDiClDiCoKiBeB_xHqqkZx_WM_USER_VIEW_SIZING_BAR_VISIBLE _xZkqqHx_iCpA_xHqqkZx_
 *			PostMessage_xZkqqHx_iClHiCoJiBeC_xHqqkZx_
 *			WM_USER_VIEW_SIZING_BAR_VISIBLE _xZkqqHx_iCmNiBeBiDfCiDhNiDjDiDgIiClCiCmGiCmJiDgPiBfLiCmM_xHqqkZx_
 *			_xZkqqHx_jFfMiOkGiBeFjEpBjFfMiOkGiCpAjAnIiCoIjBnGiCkGiCoJiBeCiKnEiCmJ_xHqqkZx_PostMessage_xZkqqHx_iCpAjDpMiCoKiCoJiCmMiCmNiBeB_xHqqkZx_
 *			_xZkqqHx_iDeMiDiDiDjDiDgPiDfIiPoDiCmMiJeFiDeOiDiKiDgCiDeOiCmJiCoGiCoJiDgAiDgCiDhGiDfIiDgHiDeBjFfMiOkGiBeFjEpBjFfMiOkGiCmMiPoKiNiHiBeB_xHqqkZx_
 *			_xZkqqHx_iDfCiDhNiDjDiDgIiCpAjClMjAnKiPiIjHjNiClHiCoJiCmGiNmEjFgAiJoGiCmMiNnLiCmJiDiBiDgKiDiFiBfLiCmMjFfMiOkGiCkKiJoGjGmKiCmJ_xHqqkZx_
 *			_xZkqqHx_iOgDiCmBiCmEiClFiCnMiCkEiClNiCnPiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::OnViewSizingBar (UINT nID)
{
	PostMessage(WM_USER_VIEW_SIZING_BAR_VISIBLE, nID, 0);
	return TRUE;
} // CFCMainFrame::OnViewSizingBar.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateViewSizingBar
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhCiDiFiBfLiDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiCoJiDgPiBfLiBgJiDfIiDgFiBfLiDfOiDfIiDgPiBfLiBeBiDhEiDeAiDjDiDeOiDfGiDiHiDjDiDgPiBfLiBeB_xHqqkZx_
 *			_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiBeBjHjKjHpAiNfMjBkCiDhCiDiFiBfLiBgKiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCmMiDiBiDgKiDiFiBfLiCmMjFfMiOkGiPpDjBnEiCpA_xHqqkZx_
 *			_xZkqqHx_jAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateViewSizingBar (CCmdUI* pCmdUI)
{
	OnUpdateViewSizingBarVisible(pCmdUI);
} // CFCMainFrame::OnUpdateViewSizingBar.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnXbuttonup
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	X_xZkqqHx_iDhLiDfOiDjDiBgJiDhNiDeFiDfIiCmMiNlGiJeFiDfEiDeDiDgIiCmMjAgJiCnOiBeFjGnPiCoJiBgKiCmM_xHqqkZx_UP_xZkqqHx_iCmJiCoGiCmBiCmEiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_iDeJiDjDiDiJiDeDiDjDiDhNiDgKiDiFiDeBiDiLiOfBiPmGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.10.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCMainFrame::OnXbuttonup (WPARAM wParam, LPARAM lParam)
{
	TRACE(_T("CFCMainFrame::OnXbuttonup\n"));
	return 1;
} // CFCMainFrame::OnXbuttonup.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateIndicator
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDgFiBfLiDfOiDfIiDgPiBfLiCmMiDeDiDjDiDfHiDfAiBfLiDfOiBfLjHhAiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pCmdUI	:_xZkqqHx_iDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.23 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateIndicator (CCmdUI* pCmdUI)
{
	pCmdUI->Enable();
} // CFCMainFrame::OnUpdateIndicator.

//----- 05.07.20 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUserPursuerTextNeedInfo
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhMiDgCiDhGiDhBiDjDiDgHiCkKiDhBiDjDiDgHiPoOjFpBiCmMjAnNjCoIiCpAjHhGiLiBiClHiCoJiNnLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_jFeLiClIiBeB_xHqqkZx_GetCursorPos_xZkqqHx_iKnGjAjEiCmFiDhNiDeFiDfIiImKjChFiCpAiOoGjDlOiClHiCoJiClBiCmGiBeC_xHqqkZx_
// *			_xZkqqHx_iDhNiDeFiDfIiNmAjFfHiCkK_xHqqkZx_WM_MOUSEMOVE_xZkqqHx_iCmJjHiKiCmBiCmEiCkCiCoJiCmGiBeBiDiBiDgKiDiFiBfLjFfMiOkGiOjOiCmIiCmHiCmJ_xHqqkZx_
// *			_xZkqqHx_iDhNiDeFiDfIiImKjChFiCkKiMlLiNnNiCmMiImKjChFiCmGjAeIiCkCiIoBiCmBiCmEiCkCiCoJiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.07.18 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//LRESULT CFCMainFrame::OnUserPursuerTextNeedInfo (WPARAM, LPARAM)
//{
//	struct my
//	{
//		static UINT PointToMenuId (CMenu* pMenu, HWND hwnd, LONG idObject, const CPoint& pt)
//		{
//			if (pMenu == NULL || hwnd == NULL) return UINT(-1);
//			int nPos;
//			for (nPos = 0; nPos != pMenu->GetMenuItemCount(); nPos++)
//			{
//				UINT dwId = pMenu->GetMenuItemID(nPos);
//				TRACE(_T("PointToMenuId %d %d\n"), nPos, dwId);
//				if (dwId != 0)
//				//----- _xZkqqHx_iDfKiDhAiDiMiBfLiDfOiCmFiCmNiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//				{
//					MENUBARINFO mbi;
//					memset(&mbi, 0, sizeof(mbi));
//					mbi.cbSize = sizeof(mbi);
//					if (::GetMenuBarInfo(hwnd, idObject, nPos + 1, &mbi))
//					{
//						TRACE(	_T("GetMenuBarInfo POS=%d CMD=%d HMENU=%x HMENU=%x HWND=%x RECT=(%d, %d, %d, %d)\n"),
//								nPos,
//								dwId,
//								pMenu->m_hMenu,
//								mbi.hMenu,
//								mbi.hwndMenu,
//								mbi.rcBar.left,
//								mbi.rcBar.top,
//								mbi.rcBar.right,
//								mbi.rcBar.bottom);
//						if (dwId == UINT(-1))
//						//----- _xZkqqHx_iDeBiDeDiDgFiDiAiCkKiDfEiDhFiDiBiDgKiDiFiBfLiCmMiPoKiNiH_xHqqkZx_ -----
//						{
//							UINT dwHitId = PointToMenuId(pMenu->GetSubMenu(nPos), mbi.hwndMenu, OBJID_CLIENT, pt);
//							if (dwHitId != UINT(-1))
//								return dwHitId;
//						} else
//						//----- _xZkqqHx_iDeBiDeDiDgFiDiAiCkKiDfCiDhNiDjDiDgIiCmMiPoKiNiH_xHqqkZx_ -----
//						{
//							if (::PtInRect(&mbi.rcBar, pt))
//								return dwId;
//						}
//					}
//				}
//			}
//			return UINT(-1);
//		}
//	};
//
//	// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiBeBiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmFiOoGjDlOiBeC_xHqqkZx_
//	CPoint ptMouse;
//	(void)::GetCursorPos(&ptMouse);
//	CMenu* pMenu = GetMenu();
//	UINT dwId = my::PointToMenuId(pMenu, m_hWnd, OBJID_MENU, ptMouse);
//	if (dwId != UINT(-1))
//	{
//		WString wstr;
//		wstr.LoadString(dwId);
//		FFGetApp()->GetPopHint()->SetTargetInfo(wstr);
//	}
//	return 1;
//} // CFCMainFrame::OnUserPursuerTextNeedInfo.
//----- 05.07.20 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnBtnObjectInfo
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDgPiBfLiCmMjFjEjFgJiPoOjFpBjAnIiCoIjBnGiCkGiDhLiDfOiDjDiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.01.07 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCMainFrame::OnBtnObjectInfo ()
//{
//	m_tolBrObjInfo.OnBtnObjectInfo();
////----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	// _xZkqqHx_jFjEjFgJiPoOjFpBiDgDiBfLiDiLiDgPiBfLjFfMiOkGjHhAjFlGiOjKjHpBiCpAiOoGjDlOiBeC_xHqqkZx_
////	long lArgsSz = 0;
////	WString strArgs;
////	AddObjInfoStr(lArgsSz, strArgs);
////	// _xZkqqHx_jBeJjBpAjFmPiNfIiCpAjFjEjFgJiPoOjFpBiDgDiBfLiDiLiDgPiBfLiCmJjCmKjCgNiBeC_xHqqkZx_
////	m_tolBrObjInfo.ObjSelectNotify(lArgsSz, strArgs, m_vSelWarning.size(), m_vSelWarning.begin());
////----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//} // CFCMainFrame::OnBtnObjectInfo.
//----- 05.07.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnViewObjLabelList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiJiDhIiDiLjFjEjFgJiIoKjHjHiBhGiCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnViewObjLabelList ()
{
	CFCDlgObjLabelList dlg;
	dlg.DoModal();
} // CFCMainFrame::OnViewObjLabelList.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnUpdateViewObjLabelList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiBhFiDiJiDhIiDiLjFjEjFgJiIoKjHjHiBhGiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnUpdateViewObjLabelList (CCmdUI* pCmdUI)
{
//----- 01.12.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	pCmdUI->Enable(FFCanBasicOperate() && g_pDoc->GetIsDocumentOpened());
//----- 01.12.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnUpdateViewObjLabelList.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnTimer
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfOiDeDiDhNiBfLiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.06.18 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCMainFrame::OnTimer (UINT nIDEvent)
{
//	TRACE(_T("CFCMainFrame::OnTimer %d\n"), nIDEvent);
//BEGIN_CHECK_TIME

	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjCfAjBmMiCmFjHjIjHhAiClHiCoJiPoKiNiHiCmJiBeB_xHqqkZx_g_pDoc == NULL _xZkqqHx_iCmMiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
	if (g_pDoc != NULL)
		g_pDoc->OnFrameTimer(nIDEvent);

//END_CHECK_TIME(_T("OnTimer"))

//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	if (nIDEvent == FDTIMER_FRAME_PURSUER_TEXT)
//	//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCmMiKmEiOiLiDfOiDeDiDhNiBfLiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		if (m_mdmtPursuerTextOn == 0)
//		//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiCkKjFfMiOkGjCiGiCmMiPoKiNiH_xHqqkZx_ -----
//		{
//			// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiBeBiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmFiOoGjDlOiBeC_xHqqkZx_
//			CPoint ptMouse;
//			(void)::GetCursorPos(&ptMouse);
//			HWND hwndPoint = ::WindowFromPoint(ptMouse);
//			// _xZkqqHx_jBmOiPnLiDeFiDeCiDjDiDgIiDeFiCkKiInJiCmIiCoJiPoKiNiHiCmNiBeBjCmHjAnFiDgFiDeMiDfIiDgHiCpAiDeJiDhEiBeC_xHqqkZx_
//			if (m_hwndPursuerTextOn != hwndPoint)
//				SetPursuerTextOff();
//		} else
//		if (m_mdmtPursuerTextOn != FDMILLISECTIME(-1))
//		//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiCmMjFfMiOkGjBnCiClPiCmMiPoKiNiH_xHqqkZx_ -----
//		{
//			if (FD_TIME_UNTIL_PURSUER_TEXT_SHOW < FFGetCurrentMillisecTime() - m_mdmtPursuerTextOn)
//			//----- _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiCmMjFfMiOkGjBnCiClPiOjOiKnEiCkKiPiKjCoIiCmMiOjOiKnEiCpAjClEiCkGiClNiPoKiNiH_xHqqkZx_ -----
//			{
//				m_mdmtPursuerTextOn = 0;
//				// _xZkqqHx_jFfMiOkGiDiBiDgCiDfKiBfLiDfHiCpAjAnNjCoIiBeC_xHqqkZx_
//				s_wndPursuerText.SetMessage(m_wstrPursuerTextOn);
//				// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCpAiMhGiOfKiBeC_xHqqkZx_
//				CSize szPursure = s_wndPursuerText.CalcSize();
//				// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiBeBiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmFiOoGjDlOiBeC_xHqqkZx_
//				CPoint pt;
//				(void)::GetCursorPos(&pt);
//				// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCpAiInKjDkOiBeC_xHqqkZx_
//				// _xZkqqHx_jCmHjAnFiDgFiDeMiDfIiDgHiDhBiDjDiDgHiDeFiDeCiDjDiDgIiDeFiCpAjFfMiOkGiCmJiBeC_xHqqkZx_
//				s_wndPursuerText.SetWindowPos(NULL, pt.x + 10, pt.y + 10,
//									szPursure.cx, szPursure.cy,
//									SWP_NOACTIVATE|SWP_NOCOPYBITS|SWP_NOOWNERZORDER|
//									SWP_NOSENDCHANGING|SWP_NOZORDER|SWP_SHOWWINDOW);
//			}
//		}
//	}
//----- 04.05.18 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
	BASE_CLASS::OnTimer(nIDEvent);
} // CFCMainFrame::OnTimer.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnCopyData
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFmKiCmMiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmJiDgGiBfLiDfOiCpAiDfCiDhDiBfLiClHiCoJiCmGiCkLiCmJiBeB_xHqqkZx_
 *			_xZkqqHx_iDhEiDiMiBfLiDiAiDiPiBfLiDeOiCmJiCoGiCoIiClBiCmMiDiBiDjDiDgPiKnGjAjEiCkKiMmEiCnBiPgPiClDiCoKiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pWnd	:_xZkqqHx_iDgGiBfLiDfOiCmMjBjHiPgPiMlD_xHqqkZx_ CWnd _xZkqqHx_iCnGiCmMiDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *			pCopyDataStruct	:_xZkqqHx_jBjHiPgPiDgGiBfLiDfOiCmMiKgJjEfLjAoG_xHqqkZx_COPYDATASTRUCT _xZkqqHx_iNfMjBkCjBmMiCnGiCmM_xHqqkZx_
 *							_xZkqqHx_iDhMiDeDiDjDiDfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAlDiPoNiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.01.23 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::OnCopyData (CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct)
{
//----- 02.12.10 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	PostMessage(pCopyDataStruct->dwData, (WPARAM)pCopyDataStruct->cbData,
//										(LPARAM)pCopyDataStruct->lpData);
//	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
//	return BASE_CLASS::OnCopyData(pWnd, pCopyDataStruct);
//----- 02.12.10 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// pCopyDataStruct->lpData _xZkqqHx_iCpAiDfCiDhDiBfLiBeC_xHqqkZx_
	// _xZkqqHx_iClBiCmMiDfKiDgCiDfGiDiHiDjDiPeJjHlJiOjOiCmJjHmMiIoGiCmNiJpAjFpKiClDiCoKiCmEiClFiCnMiCkEiClNiCnPiBeC_xHqqkZx_
	BYTE* pData = new BYTE[pCopyDataStruct->cbData];
	memcpy(pData, pCopyDataStruct->lpData, pCopyDataStruct->cbData);
	// _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCpAjBjHjFhEiBeC_xHqqkZx_
	PostMessage(pCopyDataStruct->dwData,
				(WPARAM)pCopyDataStruct->cbData, (LPARAM)pData);
	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
	return BASE_CLASS::OnCopyData(pWnd, pCopyDataStruct);
//----- 02.12.10 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnCopyData.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCMainFrame::OnSetCursor
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhNiDeFiDfIjDpMjHmNiCpAiDeMiDiDiDhGiDgAiDiDiClHiCoJiClBiCmGiCkKiCmFiCkLiCmIiCkNiCmEiBeBiDhNiDeFiDfIiCkK_xHqqkZx_
 *			_xZkqqHx_iDeFiDeCiDjDiDgIiDeFjDoAiCmFiDeKiBfLiDfMiDiLiInKjDkOiCpAiLeOiClBiClHiCmGiCkLiCmJiMmEiCnBiPgPiClDiCoKiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pWnd	:_xZkqqHx_iDeKiBfLiDfMiDiLiCpAiOjNiCmCiDeFiDeCiDjDiDgIiDeFiCnGiCmMiDhMiDeDiDjDiDfOiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *					 _xZkqqHx_iIoKiOjOjDeJiCmIiDhMiDeDiDjDiDfOiCmFiCoAiCkJiCnMiCkCiCnMiClJiCpBiCkKiBeBiClBiCmMiDhMiDeDiDjDiDfOiCpA_xHqqkZx_
 *					 _xZkqqHx_iOgHiCmBiCmEiDgGiBfLiDfOiCpAiKgJjEfLiClHiCoJiClBiCmGiCmNiCmFiCkLiCnMiClJiCpBiBeC_xHqqkZx_
 *			nHitTest:_xZkqqHx_iDhBiDgCiDgH_xHqqkZx_ _xZkqqHx_iDgFiDfIiDgHiCmMjHmMiIoGiDfCiBfLiDgIiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *					 _xZkqqHx_iDhBiDgCiDgH_xHqqkZx_ _xZkqqHx_iDgFiDfIiDgHiCmGiCmNiBeBiDeKiBfLiDfMiDiLiCmMiImKjChFiCpAjClCiCnHiCoJiDgFiDfIiDgHiCmMiClBiCmGiCmFiClHiBeC_xHqqkZx_
 *			message	:_xZkqqHx_iDhNiDeFiDfIiCmMiDiBiDgCiDfKiBfLiDfHjEnEiNiGiCpAiOhHjCoIiClFiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iImIiNhOiCmMiPiIjHjNiCpAjCiGjCgGiClHiCoJiCmGiCkLiCmN_xHqqkZx_ 0 _xZkqqHx_iImIiKePiCpAjFnEiClFiCnMiClHiBeC_xHqqkZx_
 *			_xZkqqHx_iClLiCoKiImIiKePiCmMiPoKiNiHiCmN_xHqqkZx_ 0 _xZkqqHx_iCpAjFnEiClFiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.07.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCMainFrame::OnSetCursor (CWnd* pWnd, UINT nHitTest, UINT message)
{
//	TRACE("OnSetCursor %x %x\n", nHitTest, message);
//----- 03.07.24 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//
//	// _xZkqqHx_iDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGjDoAiCmFiCmMiDhNiDeFiDfIiInKjDkOiCmIiCoHiBeBiDeKiBfLiDfMiDiLiCpAjAnNjCoIiBeC_xHqqkZx_
//	if (nHitTest == HTCLIENT && message == WM_MOUSEMOVE)
//	{
//		if (FFGetCurCursor() != NULL)
//			::SetCursor(FFGetCurCursor());
//		else
//			::SetCursor(::FFGetApp()->LoadStandardCursor(IDC_ARROW));
//		return TRUE;
//	}
//	else
//	{
//		return BASE_CLASS::OnSetCursor(pWnd, nHitTest, message);
//	}
//----- 03.07.24 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDeOiDiJiDeDiDeBiDjDiDgHjHmMiIoGjDoAiCmFiCmMiDhNiDeFiDfIiInKjDkOiCmIiCoHiBeBiDeKiBfLiDfMiDiLiCpAjAnNjCoIiBeC_xHqqkZx_
	if (nHitTest == HTCLIENT && message == WM_MOUSEMOVE)
	{
		// _xZkqqHx_iDhNiDeFiDfIiDeKiBfLiDfMiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiBeBiDfIiDeOiDiKiBfLiDjDiNmAjFfHiCmFiOoGjDlOiBeC_xHqqkZx_
		CPoint lgptMsc;
		(void)::GetCursorPos(&lgptMsc);

//----- 04.03.21 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		ScreenToClient(&lgptMsc);
//		map<HWND, HCURSOR>::const_iterator iDc;
//		for (iDc = m_mpWndToCursor.begin(); iDc != m_mpWndToCursor.end(); iDc++)
//		{
//			CRect rtClient;
//			::GetClientRect((*iDc).first, &rtClient);
//			CPoint pt[2];
//			pt[0].x = rtClient.left;
//			pt[0].y = rtClient.top;
//			pt[1].x = rtClient.right;
//			pt[1].y = rtClient.bottom;
//			::MapWindowPoints((*iDc).first, m_hWnd, pt, 2);
//			rtClient.left = pt[0].x;
//			rtClient.top = pt[0].y;
//			rtClient.right = pt[1].x;
//			rtClient.bottom = pt[1].y;
//			if (rtClient.PtInRect(lgptMsc))
//			{
//				::SetCursor((*iDc).second);
//				return TRUE;
//			}
//		}
//----- 04.03.21 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		HWND hwndPoint = ::WindowFromPoint(lgptMsc);
		map<HWND, HCURSOR>::const_iterator iDc = m_mpWndToCursor.find(hwndPoint);
		if (iDc != m_mpWndToCursor.end())
		{
			::SetCursor((*iDc).second);
			return TRUE;
		}
//----- 04.03.21 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
		::SetCursor(AfxGetApp()->LoadStandardCursor(IDC_ARROW));
		return TRUE;
	}
	else
	{
		return BASE_CLASS::OnSetCursor(pWnd, nHitTest, message);
	}
//----- 03.07.24 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCMainFrame::OnSetCursor.

//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//void CFCMainFrame::OnTestTestTest0 ()
//{
//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.07.22 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	_TCHAR szName[100];
//	DWORD dwNameSz = 100;
//	GetUserName(szName, &dwNameSz);
//	TRACE(_T("NAME = %s\n"), szName);
//
//	GUID guid;    // generated GUID
//	guid = GUID_NULL;
//	::CoCreateGuid(&guid);
//	if (guid == GUID_NULL)
//	{
//		ASSERT(FALSE);
//	}
//	short a = 3;
//	long ll = 0;
//	memcpy(&ll, &a, sizeof(a));
//----- 05.07.22 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ShellExecute(0, _T("open"), _T("x1.wmv"), NULL, NULL, SW_SHOW);
//	
//}
//----- 06.03.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

