|
|
|
|
#pragma once
|
|
|
|
|
#include "MyDlgView.h"
|
|
|
|
|
#include "afxdtctl.h"
|
|
|
|
|
#include "ATLComTime.h"
|
|
|
|
|
|
|
|
|
|
class CDlgChildCheckHistory : public CMyDlgView
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CDlgChildCheckHistory)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CDlgChildCheckHistory(CWnd* pParent = NULL); // <20><><EFBFBD><D7BC><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
virtual ~CDlgChildCheckHistory();
|
|
|
|
|
virtual void OnViewOpen();//<2F><>Ӧview <20><EFBFBD>ʱ<EFBFBD><CAB1>
|
|
|
|
|
void InitDataList();
|
|
|
|
|
void UpdateDataList(CString FilePath);
|
|
|
|
|
CString GetDateStr(CTime &DateTime);
|
|
|
|
|
void DelAllChildOfItem(HTREEITEM hItem);
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum { IDD = IDD_CHILD_CHECK_HISTORY };
|
|
|
|
|
private:
|
|
|
|
|
CTreeCtrl m_MonitorDataTree;
|
|
|
|
|
HTREEITEM m_hRoot; //<2F><><EFBFBD><EFBFBD> CTreeCtrl<72>ĸ<EFBFBD><C4B8><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
CListCtrl m_DataList;
|
|
|
|
|
CString m_CurSelPath;//<2F><><EFBFBD>е<EFBFBD>ǰѡ<C7B0>е<EFBFBD><D0B5>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>·<EFBFBD><C2B7>
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
void GetLogicalDrives(HTREEITEM hParent);
|
|
|
|
|
void GetLogicalDrives(HTREEITEM hParent,COleDateTime SelDate);
|
|
|
|
|
void GetDriveDir(HTREEITEM hParent);
|
|
|
|
|
CString GetFullPath(HTREEITEM hCurrent);
|
|
|
|
|
void AddSubDir(HTREEITEM hParent);
|
|
|
|
|
afx_msg void OnBnClickedSearchBtn();
|
|
|
|
|
afx_msg void OnTvnItemexpandedDataFoldeTree(NMHDR *pNMHDR, LRESULT *pResult);
|
|
|
|
|
afx_msg void OnTvnSelchangedDataFoldeTree(NMHDR *pNMHDR, LRESULT *pResult);
|
|
|
|
|
afx_msg void OnBnClickedExport();
|
|
|
|
|
afx_msg void OnBnClickedSearchByDate();
|
|
|
|
|
// <20><>ǰѡ<C7B0>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
COleDateTime m_SelDate;
|
|
|
|
|
};
|
|
|
|
|
|