Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.6 KiB

  1. #if !defined(AFX_THMESSAGEPAGE_H__6339279D_608F_11D3_BE4D_0000F87A3912__INCLUDED_)
  2. #define AFX_THMESSAGEPAGE_H__6339279D_608F_11D3_BE4D_0000F87A3912__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // THMessagePage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. #include "InsertionStringMenu.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CTHMessagePage dialog
  12. class CTHMessagePage : public CHMPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CTHMessagePage)
  15. // Construction
  16. public:
  17. CTHMessagePage();
  18. ~CTHMessagePage();
  19. // Dialog Data
  20. //{{AFX_DATA(CTHMessagePage)
  21. enum { IDD = IDD_THRESHOLD_MESSAGE };
  22. CEdit m_ViolationMessage;
  23. CEdit m_ResetMessage;
  24. CString m_sResetMessage;
  25. CString m_sViolationMessage;
  26. int m_iID;
  27. //}}AFX_DATA
  28. CInsertionStringMenu m_InsertionMenu;
  29. CInsertionStringMenu m_InsertionMenu2;
  30. // Overrides
  31. // ClassWizard generate virtual function overrides
  32. //{{AFX_VIRTUAL(CTHMessagePage)
  33. public:
  34. virtual BOOL OnApply();
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CTHMessagePage)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnChangeEditResetMessage();
  44. afx_msg void OnChangeEditViolationMessage();
  45. afx_msg void OnButtonInsertion();
  46. afx_msg void OnButtonInsertion2();
  47. afx_msg void OnChangeEditId();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_THMESSAGEPAGE_H__6339279D_608F_11D3_BE4D_0000F87A3912__INCLUDED_)