#if !defined(AFX_DLGSELECTTIMEINDEX_H__1A738DE8_C12B_4421_895A_EE0506085A0D__INCLUDED_)
#define AFX_DLGSELECTTIMEINDEX_H__1A738DE8_C12B_4421_895A_EE0506085A0D__INCLUDED_

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

#include "ListCtrlUserId.h"	// For CFCListCtrlUserId.
#include "StcBorder.h"		// For CFCStcBorder.
#include "ProjectCopy.h"	// For FCProjectCopy.
#include "DialogBase.h"		// For Baseclass.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgCreateTimeIndex _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCDlgCreateTimeIndex (CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void		Initialize (FCHiProject& project, BOOL bIsDocumentOpened);
	virtual HString		GetProjectPathH () const;
	virtual long		GetSearchWhere () const;
	virtual FDSECTIME	GetNarrowTimeFrom () const;
	virtual FDSECTIME	GetNarrowTimeUntil () const;
	virtual const set<GUID>&	GetNarrowUserId () const;

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

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	long		m_lSearchWhere;
	set<GUID>	m_stSelectedUserId;
	FCProjectCopy	m_projectCopy;
	BOOL		m_bIsDocumentOpened;

public:
// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgCreateTimeIndex)
	enum { IDD = IDD_DLG_CREATE_TIME_INDEX };
	CFCListCtrlUserId	m_lsvUserList;
	CFCStcBorder	m_stcBorder1;
	CFCStcBorder	m_stcBorder2;
	BOOL	m_bTimeFrom;
	BOOL	m_bTimeUntil;
	BOOL	m_bNarrowByUser;
	COleDateTime	m_otmTimeFrom;
	COleDateTime	m_otmTimeUntil;
	//}}AFX_DATA


// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgCreateTimeIndex)
	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(CFCDlgCreateTimeIndex)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnCtiChkTimeFrom();
	afx_msg void OnCtiChkTimeUntil();
	afx_msg void OnCtiChkNarrowByUser();
	afx_msg void OnCtiBtnSelectUser();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
}; // class CFCDlgCreateTimeIndex.

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

#endif // !defined(AFX_DLGSELECTTIMEINDEX_H__1A738DE8_C12B_4421_895A_EE0506085A0D__INCLUDED_)
