WorkMsg.h 2.0 KB

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