SetChildMsg.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #if !defined(AFX_SetChildMsg_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_)
  2. #define AFX_SetChildMsg_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetChildMsg.h : header file
  7. /////////////////////////////////////////////////////////////////////////////
  8. // SetChildMsg dialog
  9. class SetChildMsg : public CDialog
  10. {
  11. CString m_olddays;
  12. CStringArray daysarray;
  13. CStringArray contentarray;
  14. CArray<int,int>checkarray;
  15. // Construction
  16. public:
  17. int m_mode;
  18. void GetData();
  19. BOOL HasDay(CString days);
  20. SetChildMsg(CWnd* pParent = NULL); // standard constructor
  21. // Dialog Data
  22. //{{AFX_DATA(SetChildMsg)
  23. enum { IDD = IDD_DLGSetChildMsg };
  24. CComboBox m_combo1;
  25. CListBox m_List1;
  26. BOOL m_check1;
  27. CString m_days;
  28. CString m_content;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(SetChildMsg)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(SetChildMsg)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnSelchangeList1();
  42. afx_msg void OnBUTadd();
  43. afx_msg void OnBUTdel();
  44. afx_msg void OnChangeEdit1();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_SetChildMsg_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_)