DressEarlyWarning.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #if !defined(AFX_DressEarlyWarning_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_DressEarlyWarning_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DressEarlyWarning.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // DressEarlyWarning form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class DressEarlyWarning : public MyFormView
  14. {
  15. CArray<CStringArray, CStringArray>m_List1array;
  16. protected:
  17. DressEarlyWarning(); // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(DressEarlyWarning)
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(DressEarlyWarning)
  22. enum { IDD = IDD_DLGDressEarlyWarning };
  23. CSpinButtonCtrl m_spin1;
  24. CComboBox m_combo1;
  25. CSortListCtrl3 m_List1;
  26. CStatic m_static1;
  27. CString m_filter;
  28. UINT m_dtdays;
  29. //}}AFX_DATA
  30. // Attributes
  31. public:
  32. // Operations
  33. public:
  34. void GetData();
  35. void FillGrid();
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(DressEarlyWarning)
  39. public:
  40. virtual void OnInitialUpdate();
  41. virtual BOOL PreTranslateMessage(MSG* pMsg);
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. virtual ~DressEarlyWarning();
  48. #ifdef _DEBUG
  49. virtual void AssertValid() const;
  50. virtual void Dump(CDumpContext& dc) const;
  51. #endif
  52. // Generated message map functions
  53. //{{AFX_MSG(DressEarlyWarning)
  54. afx_msg void OnBUTclose();
  55. afx_msg void OnButton1();
  56. afx_msg void OnTimer(UINT nIDEvent);
  57. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  58. afx_msg void OnSelchangeCombo1();
  59. afx_msg void OnButton2();
  60. afx_msg void OnButton3();
  61. afx_msg void OnButton4();
  62. afx_msg void OnButton5();
  63. afx_msg void OnButton6();
  64. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnButton10();
  66. afx_msg void OnChangeEDITyear();
  67. afx_msg void OnDestroy();
  68. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. /////////////////////////////////////////////////////////////////////////////
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_DressEarlyWarning_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)