// DlgIsSaveAsVersion.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "resource.h"			// For IDD_DLG_IS_SAVE_AS_VERSION.
#include "UtilDlg.h"			// For FFGetDlgItemText.
#include "UtilWin.h"			// For FFGetLBText.
#include "UtilVersion.h"		// For FCHeaderInf.
#include "DlgIsSaveAsVersion.h"	// This header.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgIsSaveAsVersion _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::CFCDlgIsSaveAsVersion
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
 *
 * <_xZkqqHx_iPnKiNnH_xHqqkZx_>	
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCDlgIsSaveAsVersion::CFCDlgIsSaveAsVersion (CWnd* pParent /*=NULL*/)
	: BASE_CLASS(CFCDlgIsSaveAsVersion::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFCDlgIsSaveAsVersion)
	m_bNeverShowDialog = FALSE;
	//}}AFX_DATA_INIT
} // CFCDlgIsSaveAsVersion::CFCDlgIsSaveAsVersion.

void CFCDlgIsSaveAsVersion::DoDataExchange(CDataExchange* pDX)
{
	BASE_CLASS::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFCDlgIsSaveAsVersion)
	DDX_Check(pDX, IDC_SAV_CHK_NEVER_SHOW, m_bNeverShowDialog);
	//}}AFX_DATA_MAP
} // CFCDlgIsSaveAsVersion::DoDataExchange.

BEGIN_MESSAGE_MAP(CFCDlgIsSaveAsVersion, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCDlgIsSaveAsVersion)
	ON_BN_CLICKED(IDC_SAV_RDO_SAME_AS_DOCUMENT, OnSavRdoSameAsDocument)
	ON_BN_CLICKED(IDC_SAV_RDO_SAME_AS_APPLICATION, OnSavRdoSameAsApplication)
	ON_BN_CLICKED(IDC_SAV_RDO_SAME_AS_OTHER, OnSavRdoSameAsOther)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFCDlgIsSaveAsVersion _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::UpdateActivate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKgFiDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::UpdateActivate ()
{
	// IDC_SAV_RDO_SAME_AS_DOCUMENT = _xZkqqHx_jFlGiPjBiCmGjDkPiClG_xHqqkZx_ (Ver %s)_xZkqqHx_iBeC_xHqqkZx_
	GetDlgItem(IDC_SAV_RDO_SAME_AS_DOCUMENT)->EnableWindow(
		m_stVersionString.find(m_wstrDocumentVersion) != m_stVersionString.end());

	// IDC_SAV_RDO_SAME_AS_OTHER = _xZkqqHx_iClLiCmMjBlMiCmMiDgPiBfLiDfHiDiHiDjD_xHqqkZx_(&V)_xZkqqHx_iBeC_xHqqkZx_
	GetDlgItem(IDC_SAV_RDO_SAME_AS_OTHER)->EnableWindow(
			((CComboBox*)GetDlgItem(IDC_SAV_CMB_VERSION))->GetCount() != 0);

	// _xZkqqHx_iDgPiBfLiDfHiDiHiDjDjBeJjBpAiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmMjHeMiMpIiBeFjGlDiMpIiCmMjAnNjCoIiBeC_xHqqkZx_
	GetDlgItem(IDC_SAV_CMB_VERSION)->EnableWindow(
			GetCheckedRadioButton(IDC_SAV_RDO_SAME_AS_DOCUMENT, IDC_SAV_RDO_SAME_AS_OTHER) ==
			IDC_SAV_RDO_SAME_AS_OTHER);
} // CFCDlgIsSaveAsVersion::UpdateActivate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::SetDocumentVersion
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jDmHiCnNiNjOiCpBiClOjFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpVersion	:_xZkqqHx_iDgPiBfLiDfHiDiHiDjDiCpAiOhHjCoIiBeCjHoBiBeG_xHqqkZx_"3.0"
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::SetDocumentVersion (const wchar_t* wcpVersion)
{
	m_wstrDocumentVersion = wcpVersion;
} // CFCDlgIsSaveAsVersion::SetDocumentVersion.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::GetSaveVersion
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFnLjBlGiClHiCoJjFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
const wchar_t* CFCDlgIsSaveAsVersion::GetSaveVersion () const
{
	return m_wstrSaveVersion;
} // CFCDlgIsSaveAsVersion::GetSaveVersion.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::SetSaveVersion
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFnLjBlGiClHiCoJjFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpVersion	:_xZkqqHx_jFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLiCmMjFnLjBlGiCkKiOmAiNhDiClDiCoKiCoJiClNiCnBiBeBiClBiCmMiDfPiDeDiDeBiDiNiDePiCkKjFfMiOkGiClDiCoKiCoJiCkKiBeB_xHqqkZx_
 *			_xZkqqHx_iClLiCmMjDhIiCmJjBePiJpBiCmGjDkPiClGjFnLjBlGiDgPiBfLiDfHiDiHiDjDiCkKiDgGiDhEiDeIiDiLiDgHiCmFjBeJjBpAiClDiCoKiCmE_xHqqkZx_
 *			_xZkqqHx_iCkCiCoJiClNiCnPiCmJiBeBjFnLjBlGiClHiCoJiDgPiBfLiDfHiDiHiDjDiCmNiBeBiDgIiDeMiDiFiDiBiDjDiDgHjCiGiCmFjFnLjBlGiBeFiKmHjHjNiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::SetSaveVersion (const wchar_t* wcpVersion)
{
	m_wstrSaveVersion = wcpVersion;
} // CFCDlgIsSaveAsVersion::SetSaveVersion.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::SetConvertableVersions
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFnLjBlGiJmCjEfMiBgJjFmPiKlHiJmCjEfMiBgKiCmIiDgPiBfLiDfHiDiHiDjDiCmMiIoKjHjHiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	stVersionString	:_xZkqqHx_iDgPiBfLiDfHiDiHiDjDiIoKjHjHiCpAiOhHjCoIiBeCiMlLiNnNiCmMiDeBiDhGiDiKiDgPiBfLiDfHiDiHiDjDiCmN_xHqqkZx_
 *							_xZkqqHx_iKnMiCnMiClIiBeBiMlLiNnNiCmMjFlGiPjBiDgPiBfLiDfHiDiHiDjDiCmNiKnMiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDgPiBfLiDfHiDiHiDjDiIoKjHjHiCmNiBeBiDfPiDeDiDeBiDiNiDePiCmMiBhFiClLiCmMjBlMiCmMiDgPiBfLiDfHiDiHiDjDiBhG_xHqqkZx_
 *			_xZkqqHx_iCmMiMpDjFoCiIoKjHjHiCmMiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJjAnNjCoIiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::SetConvertableVersions (const WStringSet& stVersionString)
{
	m_stVersionString = stVersionString;
} // CFCDlgIsSaveAsVersion::SetConvertableVersions.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::GetIsNeverShowDialog
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOjPiJpBiCkJiCoHiClBiCmMiDfPiDeDiDeBiDiNiDePiCpAjFfMiOkGiClFiCmIiCkCiCkJiCmHiCkEiCkJiCmMjAnNjCoIiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iOjPiJpBiCkJiCoHjFfMiOkGiClFiCmIiCkCiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCDlgIsSaveAsVersion::GetIsNeverShowDialog () const
{
	return m_bNeverShowDialog;
} // CFCDlgIsSaveAsVersion::GetIsNeverShowDialog.

/////////////////////////////////////////////////////////////////////////////
// CFCDlgIsSaveAsVersion _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::OnInitDialog
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfPiDeDiDeBiDiNiDePiCmMiPiJiKpKiJlLiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCDlgIsSaveAsVersion::OnInitDialog ()
{
	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
	BASE_CLASS::OnInitDialog();
	WString wstrText;
	WString wstrNewText;
	//----- _xZkqqHx_iDeLiDeDiDfPiDjDiDfIiDgFiDeMiDfIiDgHjCiGiCmM_xHqqkZx_%s_xZkqqHx_iCpAiDgPiBfLiDfHiDiHiDjDiCmJjChFiKlH_xHqqkZx_ -----
	// IDC_SAV_STC_GUIDANCE = _xZkqqHx_iMlLiNnNjFnCiPfHjCiGiCmMjFlGiPjBiCmNiDgPiBfLiDfHiDiHiDjD_xHqqkZx_%s_xZkqqHx_iCmFiClHiBeC_xHqqkZx_\n_xZkqqHx_jFnLjBlGiClHiCoJiDgPiBfLiDfHiDiHiDjDiCpAjBeJjBpAiClFiCmEiCkNiClOiClDiCkCiBeC_xHqqkZx_
	FFGetDlgItemText(this, IDC_SAV_STC_GUIDANCE, wstrText);
	wstrNewText.Format(wstrText.c_str(), m_wstrDocumentVersion.c_str());
	FFSetDlgItemText(this, IDC_SAV_STC_GUIDANCE, wstrNewText);

	//----- _xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiCmMiDgFiDeMiDfIiDgHjCiGiCmM_xHqqkZx_%s_xZkqqHx_iCpAiDgPiBfLiDfHiDiHiDjDiCmJjChFiKlH_xHqqkZx_ -----
	// IDC_SAV_RDO_SAME_AS_DOCUMENT = _xZkqqHx_jFlGiPjBiCmGjDkPiClG_xHqqkZx_ (Ver %s)_xZkqqHx_iBeC_xHqqkZx_
	FFGetDlgItemText(this, IDC_SAV_RDO_SAME_AS_DOCUMENT, wstrText);
	wstrNewText.Format(wstrText.c_str(), m_wstrDocumentVersion.c_str());
	FFSetDlgItemText(this, IDC_SAV_RDO_SAME_AS_DOCUMENT, wstrNewText);

	// IDC_SAV_RDO_SAME_AS_APPLICATION = _xZkqqHx_iDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmGjDkPiClG_xHqqkZx_ (Ver %s)_xZkqqHx_iBeC_xHqqkZx_
	FFGetDlgItemText(this, IDC_SAV_RDO_SAME_AS_APPLICATION, wstrText);
	wstrNewText.Format(wstrText.c_str(), FCHeaderInf::GetStcFileVersionString());
	FFSetDlgItemText(this, IDC_SAV_RDO_SAME_AS_APPLICATION, wstrNewText);

	//----- _xZkqqHx_iDgPiBfLiDfHiDiHiDjDiDiKiDfIiDgHiDfCiDjDiDhLiDhLiDgCiDeOiDfIiCpAjAnNjCoI_xHqqkZx_ -----
	int iCurIndex = 0;
	WStringSet::const_iterator iStr;
	for (iStr = m_stVersionString.begin(); iStr != m_stVersionString.end(); iStr++)
	{
		// _xZkqqHx_iMlLiNnNiCmMjFlGiPjBiCmMiDgPiBfLiDfHiDiHiDjDiCmGjDkPiClGiPoKiNiHiCmNiBeBiDiKiDfIiDgHiIoKjHjHiCmJjDgPjIfOiClFiCmIiCkCiBeC_xHqqkZx_
		if (*iStr == m_wstrDocumentVersion) continue;
		int iIdx = ((CComboBox*)GetDlgItem(IDC_SAV_CMB_VERSION))->AddString(WStrToTStr(*iStr));
		// _xZkqqHx_jFnLjBlGiDgPiBfLiDfHiDiHiDjDiCmGjDkPiClGiPoKiNiHiCmNiBeBjBeJjBpAiDeDiDjDiDgGiDgCiDeOiDfIiCmGiClFiCmEjDgPjIfOiBeC_xHqqkZx_
		if (*iStr == m_wstrSaveVersion) iCurIndex = iIdx;
	}
	((CComboBox*)GetDlgItem(IDC_SAV_CMB_VERSION))->SetCurSel(iCurIndex);

	//----- _xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiCmMjBeJjBpAiCpAiNhDiCkE_xHqqkZx_ -----

	if (m_wstrSaveVersion == m_wstrDocumentVersion)
	//----- _xZkqqHx_jFnLjBlGiDgPiBfLiDfHiDiHiDjDiCmGjFlGiPjBiDgPiBfLiDfHiDiHiDjDiCkKiIoKjChGiClHiCoJiPoKiNiH_xHqqkZx_ -----
	{
		CheckRadioButton(IDC_SAV_RDO_SAME_AS_DOCUMENT, IDC_SAV_RDO_SAME_AS_OTHER,
						IDC_SAV_RDO_SAME_AS_DOCUMENT);
	} else
	if (m_wstrSaveVersion == FCHeaderInf::GetStcFileVersionString())
	//----- _xZkqqHx_jFnLjBlGiDgPiBfLiDfHiDiHiDjDiCmGiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiDgPiBfLiDfHiDiHiDjDiCkKiIoKjChGiClHiCoJiPoKiNiH_xHqqkZx_ -----
	{
		CheckRadioButton(IDC_SAV_RDO_SAME_AS_DOCUMENT, IDC_SAV_RDO_SAME_AS_OTHER,
						IDC_SAV_RDO_SAME_AS_APPLICATION);
	} else
	//----- _xZkqqHx_jFnLjBlGiDgPiBfLiDfHiDiHiDjDiCmGjFlGiPjBiBeFiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiDgPiBfLiDfHiDiHiDjDiCkKiIoKjChGiClFiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		CheckRadioButton(IDC_SAV_RDO_SAME_AS_DOCUMENT, IDC_SAV_RDO_SAME_AS_OTHER,
						IDC_SAV_RDO_SAME_AS_OTHER);
	}
	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
	UpdateActivate();
	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCmMjCfAiImKjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
	::SetUnitString(m_hWnd);
	// _xZkqqHx_jHjIiCkLjIhCjBmOiJjOjFlGiOjKjHpBiCmMjAnNjCoIiCpAiNhDiCkEiBeC_xHqqkZx_
	::RightByLeftHand(m_hWnd);
	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCpAiDhNiDeFiDfIiImKjChFiCmJiInKjDkOiBeC_xHqqkZx_
	FFJustifyWindow(m_hWnd);

	return TRUE;  // _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJiDhEiDeIiBfLiDeKiDfIiCpAjAnNjCoIiClFiCmIiCkCiCmGiCkLiBeBjGnPiCoIjCgMiCmN_xHqqkZx_ TRUE _xZkqqHx_iCmGiCmIiCoIiCnMiClH_xHqqkZx_
	              // _xZkqqHx_jHoBiKeP_xHqqkZx_: OCX _xZkqqHx_iDhGiDiNiDhAiDgFiDeC_xHqqkZx_ _xZkqqHx_iDhJiBfLiDfHiCmMjGnPiCoIjCgMiCmN_xHqqkZx_ FALSE _xZkqqHx_iCmGiCmIiCoIiCnMiClH_xHqqkZx_
} // CFCDlgIsSaveAsVersion::OnInitDialog.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::OnOK
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OK_xZkqqHx_iDhLiDfOiDjDiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::OnOK ()
{
	//----- _xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDjAnNjCoIjDjJiCkJiCoHiBeBjFnLjBlGiClHiCoJiDgPiBfLiDfHiDiHiDjDiCpAiOoGjDlO_xHqqkZx_ -----
	switch (GetCheckedRadioButton(IDC_SAV_RDO_SAME_AS_DOCUMENT, IDC_SAV_RDO_SAME_AS_OTHER))
	{
	case IDC_SAV_RDO_SAME_AS_DOCUMENT:		// _xZkqqHx_jFlGiPjBiCmGjDkPiClGiBeC_xHqqkZx_
		m_wstrSaveVersion = m_wstrDocumentVersion;
		break;
	case IDC_SAV_RDO_SAME_AS_APPLICATION:	// _xZkqqHx_iDeBiDhGiDiKiCmGjDkPiClGiBeC_xHqqkZx_
		m_wstrSaveVersion = FCHeaderInf::GetStcFileVersionString();
		break;
	case IDC_SAV_RDO_SAME_AS_OTHER:			// _xZkqqHx_iClLiCmMjBlMiBeC_xHqqkZx_
	  {
		CComboBox* pBox = (CComboBox*)GetDlgItem(IDC_SAV_CMB_VERSION);
		WString wstr;
		FFGetLBText(pBox, pBox->GetCurSel(), m_wstrSaveVersion);
		break;
	  }
	}
	// Superclass_xZkqqHx_iKnGjAjEiBeC_xHqqkZx_
	BASE_CLASS::OnOK();
} // CFCDlgIsSaveAsVersion::OnOK.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::OnSavRdoSameAsDocument
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiBhFjFlGiPjBiCmGjDkPiClGiBhGiCkKiJjPiClDiCoKiClNiPoKiNiHiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::OnSavRdoSameAsDocument ()
{
	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
	UpdateActivate();
} // CFCDlgIsSaveAsVersion::OnSavRdoSameAsDocument.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::OnSavRdoSameAsApplication
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiBhFiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmGjDkPiClGiBhGiCkKiJjPiClDiCoKiClNiPoKiNiHiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::OnSavRdoSameAsApplication ()
{
	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
	UpdateActivate();
} // CFCDlgIsSaveAsVersion::OnSavRdoSameAsApplication.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgIsSaveAsVersion::OnSavRdoSameAsOther
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiBhFiClLiCmMjBlMiCmMiDgPiBfLiDfHiDiHiDjDiBhGiCkKiJjPiClDiCoKiClNiPoKiNiHiCmJiOmAiNhDiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgIsSaveAsVersion::OnSavRdoSameAsOther ()
{
	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
	UpdateActivate();
} // CFCDlgIsSaveAsVersion::OnSavRdoSameAsOther.
