SPForm.h 1.8 KB

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