PacketMonitor.h
上传用户:kklily621
上传日期:2013-06-25
资源大小:252k
文件大小:2k
开发平台:

Visual C++

  1. #if !defined(AFX_PACKETMONITOR_H__4D51B86C_1651_4381_BA05_E300BA08A241__INCLUDED_)
  2. #define AFX_PACKETMONITOR_H__4D51B86C_1651_4381_BA05_E300BA08A241__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PacketMonitor.h : header file
  7. //
  8. //=============================================================================================
  9. // CPacketMonitor dialog
  10. class CPacketMonitor : public CPropertyPage
  11. {
  12. DECLARE_DYNCREATE(CPacketMonitor)
  13. // Construction
  14. public:
  15. CPacketMonitor();
  16. ~CPacketMonitor();
  17. // Dialog Data
  18. //{{AFX_DATA(CPacketMonitor)
  19. enum { IDD = IDD_PACKET_MONITOR };
  20. CListCtrl m_ListPacketMonitor;
  21. //}}AFX_DATA
  22. // Overrides
  23. // ClassWizard generate virtual function overrides
  24. //{{AFX_VIRTUAL(CPacketMonitor)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. // Generated message map functions
  31. //{{AFX_MSG(CPacketMonitor)
  32. virtual BOOL OnInitDialog();
  33. afx_msg void OnButtonMonitor();
  34. afx_msg void OnButtonScroll();
  35. afx_msg void OnButtonClear();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. //---------------------------------------------------------------------------------------------
  39. //owner add
  40. public:
  41. void InitDlgResource();
  42. static void InitList(CListCtrl * mList);
  43. static int InsertOneList(
  44. CListCtrl * mList, 
  45. SESSION *session, 
  46. BOOL mIsAdd = TRUE, 
  47. BOOL mIsScroll = FALSE
  48. );
  49. public:
  50. static BOOL IsScroll;
  51. static BOOL IsMonitor;
  52. static CListCtrl *m_pListPacketMonitor;
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_PACKETMONITOR_H__4D51B86C_1651_4381_BA05_E300BA08A241__INCLUDED_)