#if !defined(AFX_DLGCREATEHIDOCUMENT_H__EF4ECA44_C627_11D2_AC7D_00C0F6B0E2D0__INCLUDED_)
#define AFX_DLGCREATEHIDOCUMENT_H__EF4ECA44_C627_11D2_AC7D_00C0F6B0E2D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgCreateHidocument.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "StcCheck.h"	// CFCStcCheck.
#include "DialogBase.h"		// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCDialogBase

class FCProjectCopy;

/////////////////////////////////////////////////////////////////////////////
// CFCDlgCreateHidocument _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

class CFCDlgCreateHidocument : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

public:
	enum CreateKind
	{
		createNew,	// _xZkqqHx_jAfGiLeLiNoMjAkMiBeC_xHqqkZx_
		createFork,	// _xZkqqHx_jFkKiKpCiNoMjAkMiBeC_xHqqkZx_
		property,	// _xZkqqHx_iDhGiDiNiDhAiDgFiDeCiBeC_xHqqkZx_
	};

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
// 05.08.05 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	CFCDlgCreateHidocument (BOOL bCreate = TRUE, CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_
	CFCDlgCreateHidocument (CreateKind createKind = createNew, CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
// 06.01.26 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	virtual void	SetProject (FCHiProject* pProject);
	virtual void	SetProject (const FCProjectCopy& projectCopy);
	virtual void	Initialize (long lDocId);

protected:
	virtual void	UpdateControls ();
	virtual void	UpdateVariables ();
	virtual void	UpdateActivate ();

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
public:
	BOOL			m_bCanModify;			// _xZkqqHx_jFnCiPfHiJmCjEfMiCkJiBeI_xHqqkZx_
	FDSECTIME		m_fdstRegisterDate;		// _xZkqqHx_jDgPjIfOjDpKiOjOiBeC_xHqqkZx_
	FDSECTIME		m_fdstUpdateDate;		// _xZkqqHx_iNfIjAfGjDpKiOjOiBeC_xHqqkZx_
	GUID			m_guidRegisterUserId;	// _xZkqqHx_jDgPjIfOiDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	WString			m_wstrRegisterUserName;	// _xZkqqHx_jDgPjIfOiDiGiBfLiDfFjGlMiBeC_xHqqkZx_

protected:
	CreateKind				m_createKind;				// _xZkqqHx_jAfGiLeLiNoMjAkMiCkJiBeI_xHqqkZx_
// 06.01.26 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	FCHiProject*		m_pProject;					// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
	const FCProjectCopy*	m_pProject;					// _xZkqqHx_iDhGiDiNiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
	WString					m_wstrHidocumentTitleOrig;	// _xZkqqHx_jFlGiPjBiDfOiDeDiDgHiDiLiPiJiKpKjCgMiBeC_xHqqkZx_
	WString					m_wstrVersionOrig;			// _xZkqqHx_iDgPiBfLiDfHiDiHiDjDiPiJiKpKjCgMiBeC_xHqqkZx_

public:
// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgCreateHidocument)
	enum { IDD = IDD_DLG_CREATE_HIDOCUMENT };
	CFCStcCheck	m_stcChkLogCommandUserId;
	CString	m_strComment;
	CString	m_strHidocumentTitle;
	CString	m_strVersion;
	BOOL	m_bRegisterUserId;
	BOOL	m_bLogCommandUserId;
	CString	m_strTemplateFile;
	double	m_dHtreeScore;
	//}}AFX_DATA

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgCreateHidocument)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV _xZkqqHx_iDfEiDhMiBfLiDgH_xHqqkZx_
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
protected:

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_MSG(CFCDlgCreateHidocument)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnPjrChkRegisterUserId();
	afx_msg void OnPjrBtnProjectInfo();
	afx_msg void OnPjrChkLogCommandUserId();
	afx_msg void OnPjrBtnTemplateFile();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
}; // class CFCDlgCreateHidocument.

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ _xZkqqHx_iCmNjBePiNhDiCmMjClMjBePiCmJjCmHiJmBiCmMjAoJiMlOiCpAjBhNjDpMiClFiCnMiClHiBeC_xHqqkZx_

#endif // !defined(AFX_DLGCREATEHIDOCUMENT_H__EF4ECA44_C627_11D2_AC7D_00C0F6B0E2D0__INCLUDED_)
