TakeControlForm.h 2.0 KB

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