SPBox.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #if !defined(AFX_SPBOX_H__EFD57234_EEBA_4188_AD68_DE42B20BBB49__INCLUDED_)
  2. #define AFX_SPBOX_H__EFD57234_EEBA_4188_AD68_DE42B20BBB49__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SPBox.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // SPBox dialog
  10. class SPBox : public CDialog
  11. {
  12. CArray<CStringArray, CStringArray>m_List1array;
  13. CArray<CStringArray, CStringArray>m_List2array;
  14. BOOL m_badmin;
  15. // Construction
  16. public:
  17. CString m_lb;
  18. int m_mode;
  19. CString m_spid;
  20. CString m_spname;
  21. CStringArray m_spidarray;
  22. CStringArray m_spnamearray;
  23. CStringArray m_lbarray;
  24. void FillGrid(CString str);
  25. SPBox(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(SPBox)
  28. enum { IDD = IDD_DLGSPBox };
  29. CListBox m_listbox1;
  30. CSortListCtrl2 m_List1;
  31. CComboBox m_combosplb;
  32. CString m_filter;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(SPBox)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(SPBox)
  44. virtual BOOL OnInitDialog();
  45. virtual void OnCancel();
  46. virtual void OnOK();
  47. afx_msg void OnSelchangeCOMBOsplb();
  48. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnButton1();
  50. afx_msg void OnButton2();
  51. afx_msg void OnButton3();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_SPBOX_H__EFD57234_EEBA_4188_AD68_DE42B20BBB49__INCLUDED_)