/*************************************************************************
 * <_xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_>	TolBrTools.cpp
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJjHhAiDgDiBfLiDiLjHnOiCpAjFfMiOkGiClHiCoJiClNiCnPiCmMiDgDiBfLiDiLiDgPiBfLiDfCiDjDiDgHiDiNiBfLiDiLiDeOiDiJiDfIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.25 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/

#include "stdafx.h"
#include "resource.h"			// For IDR_RBTN_MISC.
#include "ToolManager.h"		// For FCToolManager.
#include "ToolBase.h"			// For SetLockStatus.
#include "DynamicDrawView.h"	// For g_pView.
#include "UtilDlg.h"			// For RightByLeftHand.
#include "RegData.h"			// For FCRegData.
#include "TolBrTools.h"			// This header.

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


BEGIN_MESSAGE_MAP(CFCTolBrTools, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCTolBrTools)
	ON_WM_CONTEXTMENU()
	ON_WM_LBUTTONDBLCLK()
	ON_COMMAND(ID_RBTN_TOOLOBJ_PROPERTY, OnRbtnToolobjProperty)
	ON_COMMAND(ID_RBTN_TOOLSELF_PROPERTY, OnRbtnToolselfProperty)
	ON_WM_INITMENUPOPUP()
	ON_UPDATE_COMMAND_UI(ID_RBTN_TOOLOBJ_PROPERTY, OnUpdateRbtnToolobjProperty)
	ON_UPDATE_COMMAND_UI(ID_RBTN_TOOLSELF_PROPERTY, OnUpdateRbtnToolselfProperty)
	//}}AFX_MSG_MAP
	// Global help commands
END_MESSAGE_MAP()

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::CFCTolBrTools
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.13 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCTolBrTools::CFCTolBrTools ()
{
//----- 00.12.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//// 00.09.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
////	m_dwID = 0;
//----- 00.12.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	m_dwID = DWORD(-1);
//----- 00.12.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	m_pMsgWnd = NULL;
} // CFCTolBrTools::CFCTolBrTools.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::~CFCTolBrTools
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.13 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCTolBrTools::~CFCTolBrTools ()
{
} // CFCTolBrTools::~CFCTolBrTools.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::SetMessageWnd
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iNlGiDhLiDfOiDjDiCmMiDfPiDhFiDiLiDeOiDiKiDgCiDeOiDiBiDgCiDfKiBfLiDfHiCmMjBjHjFhEjAoGiCpAjAnNjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pMsgWnd	:_xZkqqHx_jBjHjFhEjAoGiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.30 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::SetMessageWnd (CWnd* pMsgWnd)
{
	m_pMsgWnd = pMsgWnd;
} // CFCTolBrTools::SetMessageWnd.

//----- 06.02.24 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnUpdatePopupMenu
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhGiDiBiDgKiDiFiBfLiDeBiDeDiDgFiDiAiCmMjHeMiMpIjAkLiCpAiDgAiDeGiDgCiDeOiClFiBeB_xHqqkZx_
// *			_xZkqqHx_jGlDiMpIiCmMiDfCiDhNiDjDiDgIiCmNiDePiDiMiBfLiBjFjGlDiMpIiJlLiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pMenu	:_xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhGiDiBiDgKiDiFiBfLiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCTolBrTools::OnUpdatePopupMenu (CMenu* pMenu) const
//{
//#ifndef _DEBUG
//_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeBiNoNiPjMiCmFiCkLiCoJiCmMiCmFiCmNiBeI_xHqqkZx_
//CFCCtlBrHTree::OnCmdMsg_xZkqqHx_iCmG_xHqqkZx_CFCWndHistoryTree_xZkqqHx_iCmMiDfCiDhNiDjDiDgIiPiIjHjNiCpAiOfBiPmGiBeC_xHqqkZx_
//#endif//_DEBUG
//
//	FCToolBase* pTool = g_pToolManager->CommandID2Tool(m_dwID);
//	ON_UPDATE_POPUP_MENU(ID_RBTN_TOOLSELF_PROPERTY,
//						pTool != NULL && pTool->CanToolselfProperty())
//	ON_UPDATE_POPUP_MENU(ID_RBTN_TOOLOBJ_PROPERTY,
//						pTool != NULL && pTool->CanInsideObjProperty())
//} // CFCTolBrTools::OnUpdatePopupMenu.
//----- 06.02.24 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnContextMenu
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iJeFiDhLiDfOiDjDiDeOiDiKiDgCiDeOiCmFiMmEiCnBiPgPiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pWnd	: _xZkqqHx_iJeFiDeOiDiKiDgCiDeOiClFiClNiDeFiDeCiDjDiDgIiDeF_xHqqkZx_.
 *			point	: _xZkqqHx_iDeOiDiKiDgCiDeOiClFiClNiNmAjFfHiBgJiDfIiDeOiDiKiBfLiDjDiNmAjFfHiBgK_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.09.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			00.09.30 Fukushiro M. _xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_jDgAjCeCjFpLjGeAiCpAiJpMjHmHiBeC_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnContextMenu (CWnd* pWnd, CPoint point)
{
	//----- _xZkqqHx_iCnMiClIiBeBiCmHiCmMiDhLiDfOiDjDiPoDiCmFiJeFiDeOiDiKiDgCiDeOiClDiCoKiClNiCkJjClCiCnHiCoJ_xHqqkZx_ -----
	CPoint ptClient = point;
	ScreenToClient(&ptClient);
	int iBtnSize = GetToolBarCtrl().GetButtonCount();
	CRect	rtBtn;
	int		iCount;
	for (iCount = 0; iCount < iBtnSize; iCount++)
	{
		GetItemRect(iCount, rtBtn);
		if (rtBtn.PtInRect(ptClient)) break;
	}
	if (iCount == iBtnSize) return;
	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmJiJeFiDhLiDfOiDjDiCmM_xHqqkZx_ID_xZkqqHx_iCpAiLeMjIfOiBeC_xHqqkZx_
	m_dwID = GetItemID(iCount);
	if (m_dwID == ID_SEPARATOR)
	{
		m_dwID = DWORD(-1);
		return;
	}
//----- 01.04.24 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iDiBiDgKiDiFiBfLiCpAiDhMiDgCiDhGiDeBiDgCiDhG_xHqqkZx_ -----
//	CMenu menu;
//	if (menu.LoadMenu(IDR_RBTN_MISC))
//	{
//		CMenu* pPopup = menu.GetSubMenu(2);
//		ASSERT(pPopup != NULL);
//		// _xZkqqHx_iNlGjHjIiCkLiCmJjAnNjCoIiCmIiCoHiCmOiBeBiDiBiDgKiDiFiBfLiCpAjFmPiNfIiBeC_xHqqkZx_
//		if (g_pReg->GetIsLeftHand())
//			::RightByLeftHand(pPopup->m_hMenu, TRUE);
//		// _xZkqqHx_iDiBiDgKiDiFiBfLiDeBiDeDiDgFiDiAiCmMjHeMiMpIjAkLiDgAiDeGiDgCiDeOiBeC_xHqqkZx_
////		OnUpdatePopupMenu(pPopup);
//		pPopup->TrackPopupMenu(TPM_RIGHTBUTTON | TPM_LEFTALIGN,
//								point.x, point.y,
//								// route commands through main window
//								this);
//	}
//----- 01.04.24 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDfEiDhFiDiBiDgKiDiFiBfLiCpAiDhMiDgCiDhGiDeBiDgCiDhGiBeC_xHqqkZx_
	FFPopupSubmenu(point, IDR_RBTN_MISC, FD_MENU_MISC_TOOLS, this);
//----- 01.04.24 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // CFCTolBrTools::OnContextMenu.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnLButtonDblClk
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iNlGiDhLiDfOiDjDiCmMiDfPiDhFiDiLiDeOiDiKiDgCiDeOiCmFiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nFlags	:_xZkqqHx_jDkPiOjOiCmJiJjPiClFiCmEiCkCiClNiDeMiBfLiCmMiPpDjBnEjDjJiBeC_xHqqkZx_
 *			point	:_xZkqqHx_iDhNiDeFiDfIiNmAjFfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDfPiDhFiDiLiDeOiDiKiDgCiDeOiClDiCoKiClNiDhLiDfOiDjDiCpAiMjPiPgPiClFiBeBiDiBiDgCiDfKiBfLiDfHiCmFjBjHiCoIiCmCiCkPiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.26 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnLButtonDblClk (UINT nFlags, CPoint point)
{
	// _xZkqqHx_iDhLiDfOiDjDjAjEiCpAiLiBiCnPiCoJiBeC_xHqqkZx_
	int iBtnSize = GetToolBarCtrl().GetButtonCount();
	//----- _xZkqqHx_iKgFiDhLiDfOiDjDiCmMiLoJiMgAiCmJiBeBiDhMiDeDiDjDiDgHiCkKjDpMiCmBiCmEiCkCiCoJiCkJjClCiCnHiCoJ_xHqqkZx_ -----
	CRect	rtBtn;
	int		iCount;
	for (iCount = 0; iCount < iBtnSize; iCount++)
	{
		// _xZkqqHx_iDhLiDfOiDjDiCmMiLoJiMgAiCpAiLiBiCnPiCoJiBeC_xHqqkZx_
		GetItemRect(iCount, rtBtn);
		// _xZkqqHx_iLoJiMgAjDoAiCmJiDhMiDeDiDjDiDgHiCkKjGlDiCkPiCoKiCmOiBeBiOjPiCmMiDiLiBfLiDhGiBeC_xHqqkZx_
		if (!rtBtn.PtInRect(point)) continue;
		// _xZkqqHx_iDhLiDfOiDjDiCmMiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAiLiBiCnPiCoJiBeC_xHqqkZx_
		DWORD dwID = GetItemID(iCount);
		// _xZkqqHx_iDfKiDhAiDiMiBfLiDfOiCmIiCoHiCmOiBeBiPeJjHlJiBeC_xHqqkZx_
		if (dwID == ID_SEPARATOR) break;
		// _xZkqqHx_iDeOiDiKiDgCiDeOiClDiCoKiClNiDhLiDfOiDjDiCkKjGlDiMpIiCmMiPoKiNiHiCmNiBeBiPeJjHlJiBeC_xHqqkZx_
		if (!GetToolBarCtrl().IsButtonEnabled(dwID)) break;
		// _xZkqqHx_iDfPiDhFiDiLiDeOiDiKiDgCiDeOiCmMiDiBiDgCiDfKiBfLiDfHiCpAjBjHjAeNiBeC_xHqqkZx_
		if (m_pMsgWnd != NULL)
			m_pMsgWnd->PostMessage(WM_USER_TOOLBAR_DBLCLK, 0, LPARAM(dwID));
		else
			GetParent()->PostMessage(WM_USER_TOOLBAR_DBLCLK, 0, LPARAM(dwID));
		break;
	}
	BASE_CLASS::OnLButtonDblClk(nFlags, point);
} // CFCTolBrTools::OnLButtonDblClk.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnRbtnToolobjProperty
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDhLiDgCiDeOiDfIiPoDiCmFiCmMiJeFiDhLiDfOiDjDiDiBiDgKiDiFiBfLiCmMiBhFiDgDiBfLiDiLjFjEjFgJiDhGiDiNiDhAiDgFiDeCiBhG_xHqqkZx_
 *			_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iJeFiDhLiDfOiDjDiCkKiCkIiClDiCoKiClNiDgDiBfLiDiLiCmMiDfCiDhNiDjDiDgIiCkJiCoHiDgDiBfLiDiLiDeJiDhFiDfHiDeGiDeOiDgHiCpA_xHqqkZx_
 *			_xZkqqHx_jCfEiClFiPgPiClFiBeBiClLiCmMiDiKiDhEiDeAiDiMiDjDiDfIjFjEjFgJiCmMiDhGiDiNiDhAiDgFiDeCiDfPiDeDiDeBiDiNiDePiCpA_xHqqkZx_
 *			_xZkqqHx_iLeOjDkOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnRbtnToolobjProperty ()
{
	FCToolBase* pTool = g_pToolManager->CommandID2Tool(m_dwID);
	if (pTool != NULL) pTool->OnInsideObjProperty();
} // CFCTolBrTools::OnRbtnToolobjProperty.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnUpdateRbtnToolobjProperty
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDhLiDgCiDeOiDfIiPoDiCmFiCmMiJeFiDhLiDfOiDjDiDiBiDgKiDiFiBfLiCmMiBhFiDgDiBfLiDiLjFjEjFgJiDhGiDiNiDhAiDgFiDeCiBhG_xHqqkZx_
 *			_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnUpdateRbtnToolobjProperty (CCmdUI* pCmdUI)
{
	FCToolBase* pTool = g_pToolManager->CommandID2Tool(m_dwID);
	pCmdUI->Enable(pTool != NULL && pTool->CanInsideObjProperty());
} // CFCTolBrTools::OnUpdateRbtnToolobjProperty.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnRbtnToolselfProperty
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDhLiDgCiDeOiDfIiPoDiCmFiCmMiJeFiDhLiDfOiDjDiDiBiDgKiDiFiBfLiCmMiBhFiDgDiBfLiDiLiCmMiDhGiDiNiDhAiDgFiDeCiBhG_xHqqkZx_
 *			_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnRbtnToolselfProperty ()
{
	FCToolBase* pTool = g_pToolManager->CommandID2Tool(m_dwID);
	if (pTool != NULL) pTool->OnToolselfProperty();
} // CFCTolBrTools::OnRbtnToolselfProperty.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnUpdateRbtnToolselfProperty
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLiDhLiDgCiDeOiDfIiPoDiCmFiCmMiJeFiDhLiDfOiDjDiDiBiDgKiDiFiBfLiCmMiBhFiDgDiBfLiDiLiCmMiDhGiDiNiDhAiDgFiDeCiBhG_xHqqkZx_
 *			_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrTools::OnUpdateRbtnToolselfProperty (CCmdUI* pCmdUI)
{
	FCToolBase* pTool = g_pToolManager->CommandID2Tool(m_dwID);
	pCmdUI->Enable(pTool != NULL && pTool->CanToolselfProperty());
} // CFCTolBrTools::OnUpdateRbtnToolselfProperty.

//----- 06.02.24 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrTools::OnInitMenuPopup
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhGiDiBiDgKiDiFiBfLiCkKiDeBiDeOiDgFiDeCiDhFiCmJiCmIiCoJjClMjBePiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pPopupMenu	:_xZkqqHx_iDiBiDgKiDiFiBfLiDeJiDhFiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
// *			nIndex		:_xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhGiDiBiDgKiDiFiBfLiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
// *			bSysMenu	:_xZkqqHx_iDhMiDgCiDhGiDeBiDgCiDhGiDiBiDgKiDiFiBfLiCkKiDfCiDjDiDgHiDiNiBfLiDiLiDiBiDgKiDiFiBfLiCmMiPoKiNiHiCmN_xHqqkZx_
// *						 TRUE _xZkqqHx_iCpAiBeBiClLiCoKiImIiKePiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCTolBrTools::OnInitMenuPopup (CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu)
//{
//#ifndef _DEBUG
//_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeBiNoNiPjMiCmFiCkLiCoJiCmMiCmFiCmNiBeI_xHqqkZx_
//CFCCtlBrHTree::OnCmdMsg_xZkqqHx_iCmG_xHqqkZx_CFCWndHistoryTree_xZkqqHx_iCmMiDfCiDhNiDjDiDgIiPiIjHjNiCpAiOfBiPmGiBeC_xHqqkZx_
//#endif//_DEBUG
//
//
//	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
//	BASE_CLASS::OnInitMenuPopup(pPopupMenu, nIndex, bSysMenu);
//	OnUpdatePopupMenu(pPopupMenu);
//} // CFCTolBrTools::OnInitMenuPopup.
//----- 06.02.24 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
