LogQuery.h
上传用户:kklily621
上传日期:2013-06-25
资源大小:252k
文件大小:2k
开发平台:

Visual C++

  1. #if !defined(AFX_LOGQUERY_H__03AB82D5_05D2_4AA0_8EBE_B7CA2DEA7FA1__INCLUDED_)
  2. #define AFX_LOGQUERY_H__03AB82D5_05D2_4AA0_8EBE_B7CA2DEA7FA1__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // LogQuery.h : header file
  7. //
  8. //=============================================================================================
  9. // CLogQuery dialog
  10. class CLogQuery : public CPropertyPage
  11. {
  12. DECLARE_DYNCREATE(CLogQuery)
  13. // Construction
  14. public:
  15. CLogQuery();
  16. ~CLogQuery();
  17. // Dialog Data
  18. //{{AFX_DATA(CLogQuery)
  19. enum { IDD = IDD_LOG_QUERY };
  20. CDateTimeCtrl m_EndTime;
  21. CDateTimeCtrl m_EndDate;
  22. CDateTimeCtrl m_StartTime;
  23. CDateTimeCtrl m_StartDate;
  24. CListCtrl m_ListLog;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generate virtual function overrides
  28. //{{AFX_VIRTUAL(CLogQuery)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CLogQuery)
  36. virtual BOOL OnInitDialog();
  37. afx_msg void OnLogQueryButtonQuery();
  38. afx_msg void OnLogQueryButtonDelete();
  39. afx_msg void OnLogQueryButtonBack();
  40. afx_msg void OnLogQueryButtonNext();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. //---------------------------------------------------------------------------------------------
  44. // owner add
  45. public:
  46. void InitDlgResource();
  47. CTime GetTime(BOOL IsStart = TRUE);
  48. int ShowRecordPage();
  49. void SetButton(BOOL IsBack = FALSE, BOOL IsNext = FALSE);
  50. void SetPageLable(DWORD ulRecordCount = 0);
  51. public:
  52. void *m_pLogFile;
  53. int m_iPageCount;
  54. int m_iCurrentPage;
  55. DWORD m_ulStartPosition;
  56. DWORD m_ulRecordCount;
  57. DWORD m_ulChangeDirectionIndex;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_LOGQUERY_H__03AB82D5_05D2_4AA0_8EBE_B7CA2DEA7FA1__INCLUDED_)