// DlgHidocumentList.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"		// For FFGetApp.IDXXX.
#include "ProjectCopy.h"		// For FCProjectCopy.
#include "DocumentRecCopy.h"	// For FCDocumentRecCopy.
#include "UtilDlg.h"			// For SetUnitString.etc.
#include "UtilWin.h"			// For FFAddString.
#include "UtilStr.h"			// For GetResWString.
#include "UtilMisc.h"			// For FFGetGuidCheckCode.
#include "DynamicDb.h"			// For FCDynamicDb.
#include "DlgHidocumentList.h"	// This header.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgHidocumentList _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::CFCDlgHidocumentList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CFCDlgHidocumentList::CFCDlgHidocumentList (CWnd* pParent /*=NULL*/)
					: BASE_CLASS(CFCDlgHidocumentList::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFCDlgHidocumentList)
		// _xZkqqHx_iDiBiDiC_xHqqkZx_ - ClassWizard _xZkqqHx_iCmNiClBiCmMiImKjChFiCmJiDhNiDgCiDhDiDjDiDePjHhAiCmMiDhNiDeOiDiNiCpAjCmHiJmBiCnMiClNiCmNiNoNiPjMiClFiCnMiClHiBeC_xHqqkZx_
	//}}AFX_DATA_INIT

	// _xZkqqHx_iDiBiDjDiDgPjFmPjAjEiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
	m_pProject = NULL;
	// _xZkqqHx_iBhFiKeKiCkNiBhGiDfPiDeDiDeBiDiNiDePiCkJiBeI_xHqqkZx_
	m_bIsOpenDialog = FALSE;
	// _xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	m_lSelDocumentId = -1;
} // CFCDlgHidocumentList::CFCDlgHidocumentList.

/////////////////////////////////////////////////////////////////////////////
// CFCDlgHidocumentList _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::SetProject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pProject	:_xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgHidocumentList::SetProject (const FCProjectCopy& project)
{
	m_pProject = &project;
} // CFCDlgHidocumentList::SetProject.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::SetIsOpenDialog
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iBhFiKeKiCkNiBhGiDfPiDeDiDeBiDiNiDePiCkJiBeI_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bIsOpenDialog	:_xZkqqHx_iBhFiKeKiCkNiBhGiDfPiDeDiDeBiDiNiDePiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgHidocumentList::SetIsOpenDialog (BOOL bIsOpenDialog)
{
	m_bIsOpenDialog = bIsOpenDialog;
} // CFCDlgHidocumentList::SetIsOpenDialog.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::GetSelectedDocumentId
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBeJjBpAiClDiCoKiCmEiCkCiCoJjHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
long CFCDlgHidocumentList::GetSelectedDocumentId () const
{
	// _xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	return m_lSelDocumentId;
} // CFCDlgHidocumentList::GetSelectedDocumentId.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::SetSelectedDocumentId
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBeJjBpAiClDiCoKiCoJjHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lSelectDocId	:_xZkqqHx_jHjKjHpAjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgHidocumentList::SetSelectedDocumentId (long lSelectDocId)
{
	// _xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	m_lSelDocumentId = lSelectDocId;
} // CFCDlgHidocumentList::SetSelectedDocumentId.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::UpdateControls
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iBhFjDgPjIfOiNmPiCnNjFlGiPjBiCmMiIoKjHjHiBhGiDfCiDjDiDgHiDiNiBfLiDiLiCpAiPjMiCkNiCnJiCkJiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCmM_xHqqkZx_
 *			_xZkqqHx_jCgMiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void CFCDlgHidocumentList::UpdateControls ()
{
	if (m_lSelDocumentId == -1)
	//----- _xZkqqHx_jBeJjBpAiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_jHjKjHpAjFlGiPjBiNoMjAkMjDpKiBeC_xHqqkZx_UTC_xZkqqHx_iBeC_xHqqkZx_
		FFSetDlgItemText(this, IDC_HIL_EDT_REGISTER_DATE, L"");
		// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
		FFSetDlgItemText(this, IDC_HIL_EDT_USER_ID, L"");
		// [_xZkqqHx_jFnCiPfHiOnCiPoOjFpBiCmMiDiNiDePiCpAiLeMjIfO_xHqqkZx_]_xZkqqHx_iDgAiDeGiDgCiDeOiDhLiDgCiDeOiDfIiCmMiDgAiDeGiDgCiDeOiDhNiBfLiDeOiCpAiJpAiPjMiBeC_xHqqkZx_
		m_stcChkLogCommandUserId.SetCheck(FALSE);

		// _xZkqqHx_iDfCiDiBiDjDiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
		FFSetDlgItemText(this, IDC_HIL_EDT_COMMENT, L"");
		return;
	}

	const FCDocumentRecCopy* pDocRec = m_pProject->GetDocumentRec(m_lSelDocumentId);
	// _xZkqqHx_jHjKjHpAjFlGiPjBiNoMjAkMjDpKiBeC_xHqqkZx_UTC_xZkqqHx_iBeC_xHqqkZx_
	COleDateTime otmDate = FdsecToFiletime(pDocRec->GetDate());
    // IDS_FORM_DATE_TIME_LONG "%#Y_xZkqqHx_jEeO_xHqqkZx_%#m_xZkqqHx_iMiO_xHqqkZx_%#d_xZkqqHx_jDpK_xHqqkZx_ %#H_xZkqqHx_iOjO_xHqqkZx_%#M_xZkqqHx_jFkK_xHqqkZx_"
	SetDlgItemText(IDC_HIL_EDT_REGISTER_DATE, otmDate.Format(FFLoadString(IDS_FORM_DATE_TIME_LONG)));

//----- 05.10.25 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (pDocRec->GetUserId() != GUID_NULL)
//	//---- _xZkqqHx_iNoMjAkMiOnCiDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCkKjAnNjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		WString wstrUserId;
//		wstrUserId.Format(L"%s (%s-%04X)",	m_pProject->UserIdToUserName(pDocRec->GetUserId()),
//											FFGuidToString(pDocRec->GetUserId()).c_str(),
//											FFGetGuidCheckCode(pDocRec->GetUserId()));
//		// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
//		FFSetDlgItemText(this, IDC_HIL_EDT_USER_ID, wstrUserId);
//	} else
//	//---- _xZkqqHx_iNoMjAkMiOnCiDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCkKjAnNjCoIiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//	{
//		// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
//		FFSetDlgItemText(this, IDC_HIL_EDT_USER_ID, L"");
//	}
//----- 05.10.25 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
	FFSetDlgItemText(this, IDC_HIL_EDT_USER_ID,
					FFGetFormedUserId(	pDocRec->GetUserId(),
										m_pProject->UserIdToUserName(pDocRec->GetUserId())));
//----- 05.10.25 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	// [_xZkqqHx_jFnCiPfHiOnCiPoOjFpBiCmMiDiNiDePiCpAiLeMjIfO_xHqqkZx_]_xZkqqHx_iDgAiDeGiDgCiDeOiDhLiDgCiDeOiDfIiCmJiDgAiDeGiDgCiDeOiDhNiBfLiDeOjAnNjCoIiBeC_xHqqkZx_
	if (pDocRec->GetIsLogCommandUserId())
		m_stcChkLogCommandUserId.SetCheck(TRUE);
	else
		m_stcChkLogCommandUserId.SetCheck(FALSE);
	// _xZkqqHx_iDfCiDiBiDjDiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCmJjCgMiCpAjAnNjCoIiBeC_xHqqkZx_
	FFSetDlgItemText(this, IDC_HIL_EDT_COMMENT, pDocRec->GetComment());
} // CFCDlgHidocumentList::UpdateControls.

/////////////////////////////////////////////////////////////////////////////
// CFCDlgHidocumentList _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

void CFCDlgHidocumentList::DoDataExchange(CDataExchange* pDX)
{
	BASE_CLASS::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFCDlgHidocumentList)
	DDX_Control(pDX, IDC_HIL_LSV_REGISTERED_DOC, m_lsvRegisteredDoc);
	DDX_Control(pDX, IDC_HIL_STC_CHK_LOG_COMMAND_USER_ID, m_stcChkLogCommandUserId);
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CFCDlgHidocumentList, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCDlgHidocumentList)
	//}}AFX_MSG_MAP
	ON_MESSAGE(WM_USER_LCH_DOC_SELCHANGED, OnUserLchDocSelchanged)
	ON_MESSAGE(WM_USER_LCH_ITEM_DBLCLK, OnUserLchItemDblclk)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFCDlgHidocumentList _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::OnInitDialog
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfPiDeDiDeBiDiNiDePiPiJiKpKiJlLiCmFiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.09.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL CFCDlgHidocumentList::OnInitDialog ()
{
	// Superlcass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnInitDialog();

	if (m_bIsOpenDialog)
	//----- _xZkqqHx_iBhFiKeKiCkNiBhGiDfPiDeDiDeBiDiNiDePiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iKeKiCkN_xHqqkZx_ (&T)
		FFSetDlgItemText(this, IDOK, FFLoadWString(IDS_CTRL_OPEN));
		// _xZkqqHx_jHjKjHpAjFlGiPjBiCpAiKeKiCkNiBeC_xHqqkZx_
		FFSetWindowText(this, FFLoadWString(IDS_OPEN_HIDOCUMENT));
	}

	// _xZkqqHx_iDiKiDfIiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
	m_lsvRegisteredDoc.Initialize();
	// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHjCiGiCmMjBfDiCmEiCmMjFlGiPjBiCpAjAnNjCoIiBeC_xHqqkZx_
	m_lsvRegisteredDoc.SetHidocumentAll(*m_pProject);
	// _xZkqqHx_jBeJjBpAiClDiCoKiCmEiCkCiCoJjFlGiPjBiCpAjAnNjCoIiBeC_xHqqkZx_
	m_lsvRegisteredDoc.SetSelectedHidocumentId(m_lSelDocumentId);

	// _xZkqqHx_iBhFjDgPjIfOiNmPiCnNjFlGiPjBiCmMiIoKjHjHiBhGiDfCiDjDiDgHiDiNiBfLiDiLiCpAiPjMiCkNiCnJiCkJiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCmMjCgMiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
	UpdateControls();

	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCmMjCfAiImKjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
	::SetUnitString(m_hWnd);
	// _xZkqqHx_jHjIiCkLjIhCjBmOiJjOjFlGiOjKjHpBiCmMjAnNjCoIiCpAiNhDiCkEiBeC_xHqqkZx_
	::RightByLeftHand(m_hWnd);
	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCpAiDhNiDeFiDfIiImKjChFiCmJiInKjDkOiBeC_xHqqkZx_
	if (!IsKindOf(RUNTIME_CLASS(CPropertyPage)))
		::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_
} // CFCDlgHidocumentList::OnInitDialog.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::OnUserLchDocSelchanged
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAjFlGiPjBiDiKiDfIiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCmMjBeJjBpAiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDhCiDiFiBfLiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCDlgHidocumentList::OnUserLchDocSelchanged (WPARAM wParam, LPARAM lParam)
{
	if (m_lSelDocumentId != long(lParam))
	//----- _xZkqqHx_jBeJjBpAiCkKjFmPiNfIiClDiCoKiClNiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAjAnNjCoIiBeC_xHqqkZx_
		m_lSelDocumentId = long(lParam);
		// _xZkqqHx_iBhFjDgPjIfOiNmPiCnNjFlGiPjBiCmMiIoKjHjHiBhGiDfCiDjDiDgHiDiNiBfLiDiLiCpAiPjMiCkNiCnJiCkJiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCmMjCgMiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
		UpdateControls();
	}
	return 1;
} // CFCDlgHidocumentList::OnUserLchDocSelchanged.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCDlgHidocumentList::OnUserLchItemDblclk
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHjKjHpAjFlGiPjBiDiKiDfIiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCmMjBeJjBpAiCkKiDfPiDhFiDiLiDeOiDiKiDgCiDeOiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wParam	:_xZkqqHx_iDhCiDiFiBfLiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			lParam	:_xZkqqHx_jBeJjBpAiClDiCoKiClNjFlGiPjB_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iPoNiCmJiCfAiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.09 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LRESULT CFCDlgHidocumentList::OnUserLchItemDblclk (WPARAM wParam, LPARAM lParam)
{
	if (m_bIsOpenDialog && m_lSelDocumentId != -1)
	//----- _xZkqqHx_iBhFiKeKiCkNiBhGiDfPiDeDiDeBiDiNiDePiCmMiPoKiNiHiKiOiCmCjBeJjBpAiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		PostMessage(WM_COMMAND, IDOK, 0);
	}
	return 1;
} // CFCDlgHidocumentList::OnUserLchItemDblclk.

