Leaked source code of windows server 2003
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.

111 lines
3.1 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. alrtcmdd.h
  5. Abstract:
  6. Header file for the alert action command arguments dialog.
  7. --*/
  8. #ifndef _ALRTCMDD_H_
  9. #define _ALRTCMDD_H_
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13. // Dialog controls
  14. #define IDD_ALERT_CMD_ARGS 1700
  15. #define IDC_CMD_ARG_SAMPLE_CAPTION 1701
  16. #define IDC_CMD_ARG_FIRST_HELP_CTRL 1702
  17. #define IDC_CMD_ARG_SINGLE_CHK 1702
  18. #define IDC_CMD_ARG_ALERT_CHK 1703
  19. #define IDC_CMD_ARG_NAME_CHK 1704
  20. #define IDC_CMD_ARG_DATE_CHK 1705
  21. #define IDC_CMD_ARG_LIMIT_CHK 1706
  22. #define IDC_CMD_ARG_VALUE_CHK 1707
  23. #define IDC_CMD_USER_TEXT_CHK 1708
  24. #define IDC_CMD_USER_TEXT_EDIT 1709
  25. #define IDC_CMD_ARG_SAMPLE_DISPLAY 1710
  26. class CAlertActionProp;
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CAlertCommandArgsDlg dialog
  29. class CAlertCommandArgsDlg : public CDialog
  30. {
  31. // Construction
  32. public:
  33. CAlertCommandArgsDlg(CWnd* pParent=NULL);
  34. virtual ~CAlertCommandArgsDlg();
  35. void SetAlertActionPage( CAlertActionProp* pPage );
  36. // Dialog Data
  37. //{{AFX_DATA(CProvidersProperty)
  38. enum { IDD = IDD_ALERT_CMD_ARGS };
  39. CString m_strAlertName;
  40. CString m_strSampleArgList;
  41. BOOL m_CmdArg_bAlertName;
  42. BOOL m_CmdArg_bDateTime;
  43. BOOL m_CmdArg_bLimitValue;
  44. BOOL m_CmdArg_bCounterPath;
  45. BOOL m_CmdArg_bSingleArg;
  46. BOOL m_CmdArg_bMeasuredValue;
  47. BOOL m_CmdArg_bUserText;
  48. CString m_CmdArg_strUserText;
  49. // NOTE - ClassWizard will add data members here.
  50. // DO NOT EDIT what you see in these blocks of generated code !
  51. //}}AFX_DATA
  52. // Overrides
  53. // ClassWizard generate virtual function overrides
  54. //{{AFX_VIRTUAL(CAlertCommandArgsDlg)
  55. public:
  56. virtual void OnFinalRelease();
  57. protected:
  58. virtual BOOL OnInitDialog();
  59. virtual void OnOK();
  60. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  61. //}}AFX_VIRTUAL
  62. // Implementation
  63. protected:
  64. // Generated message map functions
  65. //{{AFX_MSG(CAlertCommandArgsDlg)
  66. afx_msg void OnCmdArgSingleChk();
  67. afx_msg void OnCmdArgAlertChk();
  68. afx_msg void OnCmdArgNameChk();
  69. afx_msg void OnCmdArgDateChk();
  70. afx_msg void OnCmdArgLimitChk();
  71. afx_msg void OnCmdArgValueChk();
  72. afx_msg void OnCmdUserTextChk();
  73. afx_msg void OnCmdArgUserTextEditChange();
  74. afx_msg BOOL OnHelpInfo( HELPINFO* );
  75. afx_msg void OnContextMenu( CWnd*, CPoint );
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. // Generated OLE dispatch map functions
  79. //{{AFX_DISPATCH(CProvidersProperty)
  80. // NOTE - the ClassWizard will add and remove member functions here.
  81. //}}AFX_DISPATCH
  82. private:
  83. void UpdateCmdActionBox (void);
  84. BOOL SetControlState(void);
  85. CAlertActionProp* m_pAlertActionPage;
  86. };
  87. //{{AFX_INSERT_LOCATION}}
  88. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  89. #endif // _ALRTCMDD_H_