// TolBrObjLabel.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"
#include "RegData.h"		// For g_pReg.
#include "DynamicDrawView.h"// For g_pView.
#include "UtilWin.h"		// For FFHorznizeToolBar.
#include "ObjLabel.h"		// For FCObjLabel.
#include "TolBrObjLabel.h"	// This header.

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

// _xZkqqHx_iDhLiDgCiDeOiDfIiCmMjFjNiBeC_xHqqkZx_
static const int s_nBoxWidth = 150;
// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMjFjNiBeC_xHqqkZx_
static const int s_nDroppedWidth = 500;
// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMiNiCiClDiBeC_xHqqkZx_
static const int s_nDroppedHeight = 500;

/////////////////////////////////////////////////////////////////////////////
// CFCTolBrObjLabel

CFCTolBrObjLabel::CFCTolBrObjLabel ()
{
} // CFCTolBrObjLabel::CFCTolBrObjLabel.

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

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::Initialize
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iPiJiKpKiJlLiPiIjHjNiCpAiNhDiCkEiBeCiDgDiBfLiDiLiDgPiBfLiCmJjBgHiCnNiNjOiCnMiCoKiClNiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCpA_xHqqkZx_
 *			_xZkqqHx_iPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAlDiPoNiPeJjHlJiCmMiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBiDeHiDiJiBfLiCmMiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCTolBrObjLabel::Initialize ()
{
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	if (!BASE_CLASS::Initialize()) return FALSE;

//----- 05.06.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMiNiCiClDiBeC_xHqqkZx_
//	const int nDropHeight = 500;
//	// _xZkqqHx_iDhLiDgCiDeOiDfIiCmMjFjNiBeC_xHqqkZx_
//	const int nBoxWidth = 150;
//	// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMjFjNiBeC_xHqqkZx_
//	const int nDrapWidth = 500;
//	CRect rect;
//	int iHeight;
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjBhNjDpMiPoKiPiKiBgJjFjNiBgKiCpAiNoMjAkMiClHiCoJiBeC_xHqqkZx_
//	SetButtonInfo(CommandToIndex(ID_CMB_LABEL_LIST), ID_CMB_LABEL_LIST,
//									TBBS_SEPARATOR, nBoxWidth);
//	//----- _xZkqqHx_iPiDjAeGiDhJiDjDiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiNoMjAkMiBjFiPiJiKpKiJlL_xHqqkZx_ -----
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiDfEiDeDiDfJiCpAiMhGiOfKiClHiCoJiBeC_xHqqkZx_
//	GetItemRect(CommandToIndex(ID_CMB_LABEL_LIST), &rect);
//	iHeight = rect.Height();
//	rect.top = 0;
//	rect.bottom = rect.top + nDropHeight;
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCpAiNoMjAkMiBeC_xHqqkZx_
////----- 02.06.04 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ (_xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmMiIoKjHjHiDhGiDiLiDfPiDeFiDjDiCmJiBeBiDiJiDhIiDiLjFjEjFgJjAjEiCkKjBjNiCkGiClNiPoKiNiHiCmMiDfIiDeOiDiNiBfLiDiLiDgPiBfLiCkKjFfMiOkGiClDiCoKiCmIiCkC_xHqqkZx_)-----
////	if (!m_cmbList.Create(CBS_DROPDOWNLIST|WS_VISIBLE|WS_TABSTOP,
////								rect, this, ID_CMB_LABEL_LIST))
////----- 02.06.04 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ (_xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmMiIoKjHjHiDhGiDiLiDfPiDeFiDjDiCmJiBeBiDiJiDhIiDiLjFjEjFgJjAjEiCkKjBjNiCkGiClNiPoKiNiHiCmMiDfIiDeOiDiNiBfLiDiLiDgPiBfLiCkKjFfMiOkGiClDiCoKiCmIiCkC_xHqqkZx_)-----
//	if (!m_cmbList.Create(CBS_DROPDOWNLIST|WS_VISIBLE|WS_TABSTOP|WS_VSCROLL,
//								rect, this, ID_CMB_LABEL_LIST))
////----- 02.06.04 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ (_xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmMiIoKjHjHiDhGiDiLiDfPiDeFiDjDiCmJiBeBiDiJiDhIiDiLjFjEjFgJjAjEiCkKjBjNiCkGiClNiPoKiNiHiCmMiDfIiDeOiDiNiBfLiDiLiDgPiBfLiCkKjFfMiOkGiClDiCoKiCmIiCkC_xHqqkZx_)-----
//	{
//		TRACE(_T("Failed to create combo-box\n"));
//		return FALSE;
//	}
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiDgIiDiNiDgCiDhGiDfPiDeFiDjDiDiKiDfIiDgHiCmMjFjNiCpAiKgHjCkDjAnNjCoIiBeC_xHqqkZx_
//	m_cmbList.SetDroppedWidth(nDrapWidth);
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJiDhEiDeIiDjDiDgHiCpAjAnNjCoIiBeC_xHqqkZx_
//	m_cmbList.SetFont(g_pReg->GetRegFontStatic(FDFT_TOOLBAR));
//	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMiNiCiClDiCpAjAnNjCoIiBeC_xHqqkZx_
//	m_cmbList.SetItemHeight(-1, iHeight - 6);
//----- 05.06.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// _xZkqqHx_jAlDiPoNiPeJjHlJiBeC_xHqqkZx_
	return TRUE;
} // CFCTolBrObjLabel::Initialize.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::GetCmbButtonInfo
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiDhLiDfOiDjDiCmMiPoOjFpBiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lIndex	:_xZkqqHx_iPoOjFpBiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiDhLiDfOiDjDiCmMiPoOjFpBiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCoKiImIiPoDiDhLiDfOiDjDiCmMiPoOjFpBiCkKjGlDiCkCiPoKiNiHiCmNiBeB_xHqqkZx_FCCmbButtonInfo::pCmb = NULL
 *			_xZkqqHx_iCmMiPoOjFpBiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.29 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
const CFCTolBrBase::FCCmbButtonInfo& CFCTolBrObjLabel::GetCmbButtonInfo (long lIndex)
{
	static FCCmbButtonInfo s_info[] =
	{
		{	&m_cmbList,							// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIjFmPjAjEiBeC_xHqqkZx_
			ID_CMB_LABEL_LIST,					// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
			CBS_DROPDOWNLIST,					// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjCmHiJmBiDfIiDfOiDeDiDiLiBeC_xHqqkZx_WS_VISIBLE|WS_VSCROLL|WS_TABSTOP _xZkqqHx_iCmNjFfHiPiAiBeC_xHqqkZx_
			s_nBoxWidth,						// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjFjNiBeC_xHqqkZx_
			s_nDroppedWidth,					// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMjFjNiBeC_xHqqkZx_
			s_nDroppedHeight },					// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMiNiCiClDiBeC_xHqqkZx_

		{	NULL,								// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIjFmPjAjEiBeC_xHqqkZx_
			0,									// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
			0,									// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjCmHiJmBiDfIiDfOiDeDiDiLiBeC_xHqqkZx_WS_VISIBLE|WS_VSCROLL|WS_TABSTOP _xZkqqHx_iCmNjFfHiPiAiBeC_xHqqkZx_
			0,									// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjFjNiBeC_xHqqkZx_
			0,									// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMjFjNiBeC_xHqqkZx_
			0 },								// _xZkqqHx_iDgIiDiNiDgCiDhGiDfPiDeFiDjDiCmMiNiCiClDiBeC_xHqqkZx_
	};
	return s_info[lIndex];
} // CFCTolBrObjLabel::GetCmbButtonInfo.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::OnCmdSessionEnded
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CommandGate_xZkqqHx_iCmMiDfKiDgCiDfGiDiHiDjDiPeJjHlJiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.09.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrObjLabel::OnCmdSessionEnded ()
{
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnCmdSessionEnded();
	// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjDoAjHgFiCpAiNfIjAfGiBeC_xHqqkZx_
	// _xZkqqHx_iClBiClBiCmFiNfIjAfGiClFiCmIiCkCiCmGiBeBiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJiDhEiDeIiBfLiDeKiDfIiClFiClNiCnMiCnM_xHqqkZx_
	// Ctrl+Z,R_xZkqqHx_iCmF_xHqqkZx_Undo,Redo_xZkqqHx_iCpAiClFiClNiPoKiNiHiCmJiBeBiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJiMmDiCkC_xHqqkZx_
	// _xZkqqHx_iDiJiDhIiDiLiCkKiOgDiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
	OnSetfocusCmbLabelList();
} // CFCTolBrObjLabel::OnCmdSessionEnded.

/////////////////////////////////////////////////////////////////////////////
// CFCTolBrObjLabel _xZkqqHx_iDiGiBfLiDfFiDeJiBfLiDgPiBfLiDiJiDeDiDgIiBeC_xHqqkZx_

//----- 05.06.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::CalcFixedLayout
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iMmFjCoIiDfEiDeDiDfJiCmMiMhGiOfKiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeCiOoFiCmJiDgIiDgCiDeOiClDiCoKiCoJiCmGiCkLiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//CSize CFCTolBrObjLabel::CalcFixedLayout (BOOL bStretch, BOOL bHorz)
//{
//	if (bHorz)
//	//----- _xZkqqHx_jAiFjFlNjFpLiMpMiCmMiDgIiDgCiDeOiOjO_xHqqkZx_ ------
//	{
//		// _xZkqqHx_jGhLjHiIiBeBiClBiCmMiPiIjHjNiCmNjFhDjHhGiCmIiCmMiClOiCkKiBeBiPgDjFpLiMpMiCmJjAeMiCmOiClFiClNiDhEiDiNiBfLiDgHiDgDiBfLiDiLiDgPiBfL_xHqqkZx_
//		// _xZkqqHx_iCpAiDgIiDgCiDeOiClFiCoGiCkEiCmGiClHiCoJiCmGiBeBjFjEjFgJiCkKiCkEiCnMiCkN_xHqqkZx_SEPARATOR_xZkqqHx_iImKjChFiCmJiInKjDkOiClFiCmIiCkCiClNiCnPiBeC_xHqqkZx_
//		FCWndAndId wid[] =
//		{
//			{ &m_cmbList, ID_CMB_LABEL_LIST },
//		};
//		::FFHorznizeToolBar(this, wid, sizeof(wid) / sizeof(wid[0]));
//	}
//	return BASE_CLASS::CalcFixedLayout(bStretch, bHorz);
//} // CFCTolBrObjLabel::CalcFixedLayout.
//----- 05.06.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::OnUpdateCmdUI
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiL_xHqqkZx_ _xZkqqHx_iDgPiBfLiCnMiClNiCmNiDfIiDgFiBfLiDfOiDfI_xHqqkZx_ _xZkqqHx_iDgPiBfLiCmMiPpDjBnEiCpAiNfIjAfGiClHiCoJiClNiCnPiCmJiBeB_xHqqkZx_
 *			_xZkqqHx_iDhEiDiMiBfLiDiAiDiPiBfLiDeOiCkKiMmEiCnBiPgPiClFiCnMiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pTarget	:_xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmMiDiBiDeDiDjD_xHqqkZx_ _xZkqqHx_iDhEiDiMiBfLiDiAiCnGiCmMiDhMiDeDiDjDiDfOiBeC_xHqqkZx_
 *			bDisableIfNoHndler :_xZkqqHx_iNfIjAfGiDgOiDjDiDgIiDiJiCpAiOjNiCmBiCmEiCkCiCmIiCkCiDfCiDjDiDgHiDiNiBfLiDiLiCpA_xHqqkZx_
 *								_xZkqqHx_iOkJjDkOjDeJiCmJiLnGiOhOiPpDjBnEiCmFjFfMiOkGiClHiCoJiCkJiCmHiCkEiCkJiCpAiOkGiClHiDhEiDiJiDePiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrObjLabel::OnUpdateCmdUI (CFrameWnd* pTarget, BOOL bDisableIfNoHndler)
{
	if (::IsWindow(m_hWnd))
	{
		m_cmbList.EnableWindow(g_pDoc->GetIsDocumentOpened());
	}
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnUpdateCmdUI(pTarget, bDisableIfNoHndler);
} // CFCTolBrObjLabel::OnUpdateCmdUI.

BEGIN_MESSAGE_MAP(CFCTolBrObjLabel, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCTolBrObjLabel)
	//}}AFX_MSG_MAP
	ON_CBN_SETFOCUS(ID_CMB_LABEL_LIST, OnSetfocusCmbLabelList)
	ON_CBN_SELCHANGE(ID_CMB_LABEL_LIST, OnSelchangeCmbLabelList)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFCTolBrObjLabel _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::OnSetfocusCmbLabelList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJiDhEiDeIiBfLiDeKiDfIiCkKiCkAiClNiCmBiClNiCmGiCkLiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrObjLabel::OnSetfocusCmbLabelList ()
{
	// _xZkqqHx_jDgPjIfOiDeBiDeDiDgFiDiAiDeOiDiKiDeBiBeC_xHqqkZx_
	m_cmbList.ResetContent();
	// _xZkqqHx_iNmFiPiJiCmMjGlDiMpIiDeBiDeDiDgFiDiAiCpAjDgPjIfOiBeC_xHqqkZx_
	int index = FFAddString(&m_cmbList, L"");
	m_cmbList.SetItemData(index, DWORD(-1));
	//_xZkqqHx_iDiMiDfCiBfLiDgIjDgPjIfOiBeC_xHqqkZx_
	m_vRecList.clear();
	g_pDoc->GetObjLabelStid(m_vRecList);
	for (long lIdx = 0; lIdx < m_vRecList.size(); lIdx++)
	{
		// _xZkqqHx_iDiJiDhIiDiLjGlMjDgPjIfOiBeC_xHqqkZx_
		index = FFAddString(&m_cmbList ,m_vRecList[lIdx]->wstrLabel);
		m_cmbList.SetItemData(index, DWORD(lIdx));
	}
} // CFCTolBrObjLabel::OnSetfocusCmbLabelList.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCTolBrObjLabel::OnSelchangeCmbLabelList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBeJjBpAiCmMiDiKiDfIiDgHiCkKjFmPiNfIiClDiCoKiClNiCmGiCkLiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCTolBrObjLabel::OnSelchangeCmbLabelList ()
{
	int iCurSel = m_cmbList.GetCurSel();
	if (iCurSel == CB_ERR) return;
	DWORD dwRecId = m_cmbList.GetItemData(iCurSel);
	if (dwRecId == DWORD(-1)) return;
	DBLRect mmrtFrame = m_vRecList[dwRecId]->pObjLabel->GetResizeFrame();
	g_pView->SetScrollCenter(mmrtFrame.CenterPoint(),
							m_vRecList[dwRecId]->stidObjLabel);
	if (!g_pReg->GetIsShowObjLabel())
	{
//----- 01.08.02 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJjFfMiOkGiDiCiBfLiDgIiCpAjFmPiNfIiBeC_xHqqkZx_
//		g_pReg->SetIsShowObjLabel(TRUE);
//----- 01.08.02 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 02.01.02 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		// _xZkqqHx_iLeMjIfOiDfKiDgCiDfGiDiHiDjDiKeKiOgOiBeC_xHqqkZx_
//		g_pDoc->SessionBegin();
//		// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJjFfMiOkGiDiCiBfLiDgIiCpAjFmPiNfIiBeC_xHqqkZx_
//		g_pDoc->CmdSetIsShowObjLabel(TRUE);
//		// _xZkqqHx_iLeMjIfOiDfKiDgCiDfGiDiHiDjDiCmMiPeJjHlJiBeC_xHqqkZx_
//		g_pDoc->SessionEnd();
//----- 02.01.02 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJjFfMiOkGiDiCiBfLiDgIiCpAjFmPiNfIiBeC_xHqqkZx_
		// SetIsShowObjLabel_xZkqqHx_iCmNiBeBiDfCiDhNiDjDiDgIiCmJiClFiCmEiCmNiCmIiCoHiCmIiCkCiBeC_xHqqkZx_Undo_xZkqqHx_iDgPiDgCiDhEiDeAiCkK_xHqqkZx_
		// _xZkqqHx_iInDjAhNiClFiCmIiCkCiPoKiPiKiCmFjAnIjCgGiClDiCoKiCmEiClFiCnMiCkEiClNiCnPiBeC_xHqqkZx_
		g_pReg->SetIsShowObjLabel(TRUE);
		// _xZkqqHx_iPeDjAlDiDhEiDiJiDePiCpAjAnNjCoIiBeC_xHqqkZx_
		g_pDoc->SetModifiedFlag(TRUE);
//----- 02.01.02 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 01.08.02 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
		// _xZkqqHx_jFmPiNfIiCpAiDhCiDiFiBfLiCmJjElNiJgGiClHiCoJiBeC_xHqqkZx_
		g_pView->UpdateShowObjLabel();
	}
} // CFCTolBrObjLabel::OnSelchangeCmbLabelList.
