// DlgSideView.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"
#include "RegData.h"		// For g_pReg.
#include "FrameWnd.h"		// For FFGetMainWnd().
#include "UtilMisc.h"		// For FFGetCapture.etc.
// 05.11.13 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "UtilWin.h"		// For FFJustifyToMonitor.
#include "DlgSideView.h"	// This header.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgSideView _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::CFCDlgSideView
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDhEiDeIiDiLiDgHiDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//CFCDlgSideView::CFCDlgSideView (long lId, CWnd* pParent /*=NULL*/)
//			: BASE_CLASS(CFCDlgSideView::IDD, pParent)
//{
//	//{{AFX_DATA_INIT(CFCDlgSideView)
//		// _xZkqqHx_iDiBiDiC_xHqqkZx_ - ClassWizard _xZkqqHx_iCmNiClBiCmMiImKjChFiCmJiDhNiDgCiDhDiDjDiDePjHhAiCmMiDhNiDeOiDiNiCpAjCmHiJmBiCnMiClNiCmNiNoNiPjMiClFiCnMiClHiBeC_xHqqkZx_
//	//}}AFX_DATA_INIT
//
//	//----- _xZkqqHx_iDiGiBfLiDfFjFmPjAjE_xHqqkZx_ -----
//	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCmM_xHqqkZx_ID_xZkqqHx_iBeCiDiMiDfHiDfIiDgHiDiKiCnGiCmMjFnLjBlGiCmJiOgHiCkEiBeC_xHqqkZx_
//	m_lId = lId;
//	// _xZkqqHx_jHjKjHpAjGnIiNfMjBkCiDhCiDiFiBfLiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_
//	m_pWndSideView = NULL;
//} // CFCDlgSideView::CFCDlgSideView.
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::CFCDlgSideView
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDhEiDeIiDiLiDgHiDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.11.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCDlgSideView::CFCDlgSideView ()
			: BASE_CLASS()
{
	//{{AFX_DATA_INIT(CFCDlgSideView)
		// _xZkqqHx_iDiBiDiC_xHqqkZx_ - ClassWizard _xZkqqHx_iCmNiClBiCmMiImKjChFiCmJiDhNiDgCiDhDiDjDiDePjHhAiCmMiDhNiDeOiDiNiCpAjCmHiJmBiCnMiClNiCmNiNoNiPjMiClFiCnMiClHiBeC_xHqqkZx_
	//}}AFX_DATA_INIT

	//----- _xZkqqHx_iDiGiBfLiDfFjFmPjAjE_xHqqkZx_ -----
	// _xZkqqHx_jHjKjHpAjGnIiNfMjBkCiDhCiDiFiBfLiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_
	m_pWndSideView = NULL;
} // CFCDlgSideView::CFCDlgSideView.
//----- 05.11.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

void CFCDlgSideView::DoDataExchange(CDataExchange* pDX)
{
	BASE_CLASS::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFCDlgSideView)
		// _xZkqqHx_iDiBiDiC_xHqqkZx_ - ClassWizard _xZkqqHx_iCmNiClBiCmMiImKjChFiCmJiDhNiDgCiDhDiDjDiDePjHhAiCmMiDhNiDeOiDiNiCpAjCmHiJmBiCnMiClNiCmNiNoNiPjMiClFiCnMiClHiBeC_xHqqkZx_
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CFCDlgSideView, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCDlgSideView)
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()
// 05.11.13 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	ON_WM_SHOWWINDOW()
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	ON_WM_CREATE()
//	ON_WM_DESTROY()
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/////////////////////////////////////////////////////////////////////////////
// CFCDlgSideView _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::GetWndSideView
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiDfKiDgCiDgHiCmMiDeFiDeCiDjDiDgIiDeFiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiDfKiDgCiDgHiCmMiDeFiDeCiDjDiDgIiDeFiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CWnd* CFCDlgSideView::GetWndSideView ()
{
	return m_pWndSideView;
} // CFCDlgSideView::GetWndSideView.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::SetWndSideView
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiDfKiDgCiDgHiCmMiDeFiDeCiDjDiDgIiDeFiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pWndSideView	:_xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiDfKiDgCiDgHiCmMiDeFiDeCiDjDiDgIiDeFiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgSideView::SetWndSideView (CWnd* pWndSideView)
{
	if (m_pWndSideView != pWndSideView)
	//----- _xZkqqHx_jAfGiClFiCkCjCgMiCkKjAnNjCoIiClDiCoKiClNiPoKiNiH_xHqqkZx_ -----
	{
		m_pWndSideView = pWndSideView;
		if (m_pWndSideView != NULL)
		//----- _xZkqqHx_jHeMiMpIiCmIiDeFiDeCiDjDiDgIiDeFiCkKjAnNjCoIiClDiCoKiClNiPoKiNiH_xHqqkZx_ -----
		{
			// _xZkqqHx_iDiMiDeDiDeBiDeFiDgHiCpAiMhGiOfKiClFiBeBiNmEjEhKjChFiBeC_xHqqkZx_
			CRect rtClient;
			GetClientRect(rtClient);
			UpdateLayout(CSize(rtClient.Width(), rtClient.Height()));
		}
	}
} // CFCDlgSideView::SetWndSideView.

//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::SetWindowVisible
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAjAnIiCoIjBnGiCkGiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIsVisible	:_xZkqqHx_jFfMiOkGiPpDjBnEiCmJiClHiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBjEpBjFfMiOkGiPpDjBnEiCmJiClHiCoJiPoKiNiHiCmN_xHqqkZx_
// *						 FALSE _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jFfMiOkGiPpDjBnEiCpAjFmPiNfIiClFiClNiMoDiBeBiDiMiDfHiDfIiDgHiDiKiCmJjFfMiOkGiBeFjEpBjFfMiOkGiPpDjBnEiCpAiLeMjIfOiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCDlgSideView::SetWindowVisible (BOOL bIsVisible)
//{
//	ShowWindow(bIsVisible ? SW_SHOW : SW_HIDE);
//
//	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJjCgMiCpAjAnNjCoI_xHqqkZx_ -----
//	// _xZkqqHx_iDeMiBfLjGlMiCpAiNoMjAkMiBeC_xHqqkZx_
//	WString wstrKey;
//	wstrKey.Format(L"%s\\CFCDlgSideView-%x", ::GetLocalAppName(), m_lId);
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAiDiMiDfHiDfIiDgHiDiKiCmJiLeMjIfOiBeC_xHqqkZx_
//	FFGetApp()->WriteProfileIntW(wstrKey, L"Visible", int(bIsVisible));
//} // CFCDlgSideView::SetWindowVisible.
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::UpdateLayout
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKgFiDfCiDjDiDgHiDiNiBfLiDiLiCpAiNmEjEhKjChFiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	szClient	:_xZkqqHx_iDiMiDeDiDeBiDeFiDgHiCpAiMhGiOfKiClHiCoJiClNiCnPiCmMiDeOiDiJiDeDiDeBiDjDiDgHiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiDiKiDfEiDeDiDfJiOjOiBeBiDgAiDgCiDhGiDfIiDgHiDeBjAnNjCoIiOjOiCmIiCmHiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgSideView::UpdateLayout (CSize szClient)
{
	if (m_pWndSideView != NULL)
	//----- _xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiCkKjAnNjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		//----- _xZkqqHx_iDgAiDgCiDhGiDfIiDgHiDeBiCpAiNmEjEhKjChF_xHqqkZx_ -----
		m_pWndSideView->MoveWindow(CRect(0, 0, szClient.cx, szClient.cy));
	}
} // CFCDlgSideView::UpdateLayout.

/////////////////////////////////////////////////////////////////////////////
// CFCDlgSideView _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::OnSize
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfEiDeDiDfJiCkKjFmPiNfIiClDiCoKiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nType	:_xZkqqHx_iDiKiDfEiDeDiDfJiCmMiOoNjHnOiBeC_xHqqkZx_
 *			cx,cy	:_xZkqqHx_jAfGiClFiCkCiDeFiDeCiDjDiDgIiDeFiDfEiDeDiDfJiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iOhBiDeFiDeCiDjDiDgIiDeFiCmMiCmMiDiKiDfEiDeDiDfJiPiIjHjNiCpAiNhDiCkEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgSideView::OnSize (UINT nType, int cx, int cy)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnSize(nType, cx, cy);
	// _xZkqqHx_iDiMiDeDiDeBiDeFiDgHiCpAiMhGiOfKiClFiBeBiNmEjEhKjChFiBeC_xHqqkZx_
	UpdateLayout(CSize(cx, cy));
} // CFCDlgSideView::OnSize.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::PreTranslateMessage
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgCiDfKiBfLiDfHiCmMjBePiPiIjHjNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCDlgSideView::PreTranslateMessage (MSG* pMsg)
{
	if (pMsg->message == WM_SYSKEYDOWN)
	//----- _xZkqqHx_iDfGiDfIiDgFiDiAiDeMiBfLiDfPiDeFiDjDiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iClBiClBiCmNiBeB_xHqqkZx_ALT_xZkqqHx_iDeMiBfLiCpAiJjPiClFiClNiCmGiCkLiCmJiPiIjHjNiClDiCoKiCoJiBeC_xHqqkZx_
		// _xZkqqHx_iDhEiDeIiBfLiDeKiDfIiCpAiDiBiDeDiDjDiDeFiDeCiDjDiDgIiDeFiCnGiBeC_xHqqkZx_
		FFGetMainWnd()->GetWnd()->SetFocus();
	} else
	if (pMsg->message == WM_KEYDOWN)
	//----- _xZkqqHx_iDeMiBfLiDfPiDeFiDjDiCmMiPoKiNiH_xHqqkZx_ -----
	{
//----- 05.01.22 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		// _xZkqqHx_iDfJiBfLiDiAiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjDpMjHmNiCmMiPoKiNiHiCmNiBeBiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCnGiDiBiDgCiDfKiBfLiDfHiCpAjDgOiClHiBeC_xHqqkZx_
//		// FALSE_xZkqqHx_iCpAjFnEiClHiClBiCmGiCmFiBeBiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmFiPiIjHjNiClDiCoKiCoJiBeC_xHqqkZx_
//		if (pMsg->hwnd == m_pWndHtreeView->GetZoomComboBox()->m_hWnd ||
//			::GetParent(pMsg->hwnd) == m_pWndHtreeView->GetZoomComboBox()->m_hWnd)
//			return FALSE;
//----- 05.01.22 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		// _xZkqqHx_iOkJjDkO_xHqqkZx_ALT_xZkqqHx_jBmOiPnLiKePiBgJiDfJiBfLiDiAiDfCiDjDiDhLiDhLiDgCiDeOiDfIjDjJiBgKiCmMjDpMjHmNiCmMiPoKiNiHiCmNiBeB_xHqqkZx_
		// _xZkqqHx_iClLiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCnGiDiBiDgCiDfKiBfLiDfHiCpAjDgOiClHiBeC_xHqqkZx_
		// FALSE_xZkqqHx_iCpAjFnEiClHiClBiCmGiCmFiBeBiDfCiDjDiDgHiDiNiBfLiDiLiCmFiPiIjHjNiClDiCoKiCoJiBeC_xHqqkZx_
		if (!FFGetMainWnd()->IsAutoAltWindow(pMsg->hwnd) &&
			!FFGetMainWnd()->IsAutoAltWindow(::GetParent(pMsg->hwnd)))
			return FALSE;
//----- 05.01.22 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

		// _xZkqqHx_iDhEiDeIiBfLiDeKiDfIiCpAiDiBiDeDiDjDiDeFiDeCiDjDiDgIiDeFiCnGiBeC_xHqqkZx_
		// _xZkqqHx_iDhEiDeIiBfLiDeKiDfIiCkKiDiBiDeDiDjDiDeFiDeCiDjDiDgIiDeFiCmJiCmIiCkCiCmGiBeB_xHqqkZx_ALT_xZkqqHx_iDeMiBfLiCoCiBeB_xHqqkZx_
		// _xZkqqHx_iJlKiCmM_xHqqkZx_WM_SYSCOMMAND _xZkqqHx_iCpAiOpDiCkPjFhEiCkPiCmEiCoAiCoHiCkGiCmIiCkCiClNiCnPiBeC_xHqqkZx_
		FFGetMainWnd()->GetWnd()->SetFocus();

		// _xZkqqHx_iDeMiBfLiDfPiDeFiDjD_xHqqkZx_ && _xZkqqHx_iOkJjDkO_xHqqkZx_ALT && not CTRL-KEY && not MENU-KEY && NotCapture _xZkqqHx_iCmMiPoKiNiHiBeC_xHqqkZx_
		if (g_pReg->GetIsAutoAlt() &&
			0 <= GetKeyState(VK_CONTROL) &&
			0 <= GetKeyState(VK_MENU) &&
			::FFGetCapture() == NULL)
		{
			// _xZkqqHx_iJlMjBhKiDeMiBfLiCpAiOmAiNnLiCmMiDeMiDiDiDiJiDeOiDfOiCmJjFmPiKlHiBeC_xHqqkZx_
			UINT dwAft = ::MapVirtualKey(pMsg->wParam, 2);
			// _xZkqqHx_jCmKiPoNiCmMiDeMiBfLiBgJiDfIiDhJiBfLiDfIiDeMiBfLiCkJiCoH_xHqqkZx_~_xZkqqHx_iCmMiOjPiBgKiCmMiPoKiNiHiBeC_xHqqkZx_
			if (0x20 <= dwAft && dwAft <= 0x7f)
			{
				// ALT_xZkqqHx_iDeMiBfLiCpAiJjPiClFiCmIiCkKiCoHiCmMiDeMiBfLiCmGiClFiCmEiDiBiDgCiDfKiBfLiDfHiCpAjDiKiClAiCoJiBeC_xHqqkZx_
				FFGetMainWnd()->PostMessage(WM_SYSCOMMAND, SC_KEYMENU, dwAft);
			}
		}
		// ESC_xZkqqHx_iDeMiBfLiBeB_xHqqkZx_RETURN_xZkqqHx_iDeMiBfLiCmFiDfPiDeDiDeBiDiNiDePiCkKjFmCiClGiCoJiCmMiCpAjGgIiCkOiClNiCnPiBeB_xHqqkZx_
		// BASE_CLASS::PreTranslateMessage _xZkqqHx_iCmNiOmAiNhDiClFiCmIiCkCiBeC_xHqqkZx_
		return TRUE;
	}
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	return BASE_CLASS::PreTranslateMessage(pMsg);
} // CFCDlgSideView::PreTranslateMessage.

//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::OnCreate
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiNoMjAkMiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//int CFCDlgSideView::OnCreate (LPCREATESTRUCT lpCreateStruct)
//{
//	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
//	if (BASE_CLASS::OnCreate(lpCreateStruct) == -1)
//		return -1;
//
//	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHjCgMiCpAiOoGjDlO_xHqqkZx_ -----
//	// _xZkqqHx_iDeMiBfLjGlMiCpAiNoMjAkMiBeC_xHqqkZx_
//	WString wstrKey;
//	wstrKey.Format(L"%s\\CFCDlgSideView-%x", ::GetLocalAppName(), m_lId);
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiImKjChFiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiPgPiClHiBeC_xHqqkZx_
//	CRect* rtWindow;
//	UINT uiDataSz;
//	if (FFGetApp()->GetProfileBinaryW(wstrKey, L"Rect", (LPBYTE*)&rtWindow, &uiDataSz))
//	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCkJiCoHiDeFiDeCiDjDiDgIiDeFiNmAjFfHiCkKjDmHiCnNiPgPiClJiClNiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiNmAjFfHiCpAiDiCiDgKiDfOiBfLiImKjChFiCmJjFoCjAlDiBeC_xHqqkZx_
//		// _xZkqqHx_iDhNiDiLiDgAiDiCiDgKiDfOiBfLiKmCiLkLiCpAiNgMjHlGiBeC_xHqqkZx_
//		*rtWindow += FFJustifyToMonitor(*rtWindow);
//		// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCpAiInKjDkOiBeC_xHqqkZx_
//		MoveWindow(*rtWindow);
//		delete[] rtWindow;
//	}
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMjFfMiOkGiBeFjEpBjFfMiOkGiCpAiDiMiDfHiDfIiDgHiDiKiCkJiCoHjDmHiCnNiPgPiClHiBeC_xHqqkZx_
//// 05.08.03 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
////	BOOL bIsVisible = (BOOL)FFGetApp()->GetProfileIntW(wstrKey, L"Visible", int(TRUE));
//	BOOL bIsVisible = (BOOL)FFGetApp()->GetProfileIntW(wstrKey, L"Visible", int(FALSE));
//	if (bIsVisible) ShowWindow(SW_SHOW);
//	return 0;
//} // CFCDlgSideView::OnCreate.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgSideView::OnDestroy
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeFiDeCiDjDiDgIiDeFiNoNiPjMiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCDlgSideView::OnDestroy ()
//{
//	//----- _xZkqqHx_iDiMiDfHiDfIiDgHiDiKiCmJjCgMiCpAjAnNjCoI_xHqqkZx_ -----
//	// _xZkqqHx_iDeMiBfLjGlMiCpAiNoMjAkMiBeC_xHqqkZx_
//	WString wstrKey;
//	wstrKey.Format(L"%s\\CFCDlgSideView-%x", ::GetLocalAppName(), m_lId);
//	// _xZkqqHx_iDeFiDeCiDjDiDgIiDeFiCmMiImKjChFiCpAiDiMiDfHiDfIiDgHiDiKiCmJiLeMjIfOiBeC_xHqqkZx_
//	CRect rtWindow;
//	GetWindowRect(rtWindow);
//	FFGetApp()->WriteProfileBinaryW(wstrKey, L"Rect", (LPBYTE)&rtWindow, sizeof(rtWindow));
//
//	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
//	BASE_CLASS::OnDestroy();
//} // CFCDlgSideView::OnDestroy.
//
//----- 05.11.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
