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.

77 lines
2.5 KiB

  1. // AgentMonitorDlg.h : header file
  2. //
  3. #if !defined(AFX_AGENTMONITORDLG_H__5A5901FB_D179_11D2_A1E2_00A0C9AFE114__INCLUDED_)
  4. #define AFX_AGENTMONITORDLG_H__5A5901FB_D179_11D2_A1E2_00A0C9AFE114__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #include "resource.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CAgentMonitorDlg dialog
  11. class CAgentMonitorDlg : public CPropertyPage
  12. {
  13. // Construction
  14. public:
  15. CAgentMonitorDlg(CWnd* pParent = NULL); // standard constructor
  16. virtual BOOL OnSetActive( );
  17. // Dialog Data
  18. //{{AFX_DATA(CAgentMonitorDlg)
  19. enum { IDD = IDD_AGENTMONITOR_DIALOG };
  20. CButton m_DetailsButton;
  21. CListCtrl m_ServerList;
  22. CString m_DispatchLog;
  23. int m_Interval;
  24. CString m_ServerCount;
  25. //}}AFX_DATA
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CAgentMonitorDlg)
  28. public:
  29. virtual void OnOK();
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  33. //}}AFX_VIRTUAL
  34. public:
  35. void SetSecurityTranslationFlag(BOOL bIsIt){ m_bSecTrans = bIsIt; }
  36. void SetReportingFlag(BOOL bIsIt){ m_bReporting = bIsIt; }
  37. // Implementation
  38. protected:
  39. HICON m_hIcon;
  40. int m_SortColumn;
  41. BOOL m_bReverseSort;
  42. BOOL m_bSecTrans;
  43. BOOL m_bReporting;
  44. // Generated message map functions
  45. //{{AFX_MSG(CAgentMonitorDlg)
  46. virtual BOOL OnInitDialog();
  47. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  48. afx_msg void OnPaint();
  49. afx_msg HCURSOR OnQueryDragIcon();
  50. afx_msg void OnDblclkServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnViewDispatch();
  52. afx_msg void OnDetails();
  53. afx_msg void OnColumnclickServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  54. afx_msg void OnClickServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  55. afx_msg void OnGetdispinfoServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  56. afx_msg void OnSetdispinfoServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  57. afx_msg void OnHeaderItemClickServerlist(NMHDR* pNMHDR, LRESULT* pResult);
  58. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  59. //}}AFX_MSG
  60. // LRESULT OnUpdateServerEntry(UINT nID, long x);
  61. LRESULT OnUpdateServerEntry(UINT nID, LPARAM x);
  62. // LRESULT OnServerError(UINT nID, long x);
  63. LRESULT OnServerError(UINT nID, LPARAM x);
  64. DECLARE_MESSAGE_MAP()
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_AGENTMONITORDLG_H__5A5901FB_D179_11D2_A1E2_00A0C9AFE114__INCLUDED_)