IpMonitorView.h
资源名称:IPbao.rar [点击查看]
上传用户:ykzxjx
上传日期:2022-04-03
资源大小:1175k
文件大小:3k
源码类别:
防火墙与安全工具
开发平台:
Visual C++
- ///////////////////////////////////////////////////////////////////////////////
- //
- // (C) Copyright 1999 - 2000 Mark Roddy
- // All Rights Reserved
- //
- // Hollis Technology Solutions
- // 94 Dow Road
- // Hollis, NH 03049
- // info@hollistech.com
- //
- // Synopsis:
- //
- //
- // Version Information:
- //
- // $Header: /iphook/usr/IpMonitor/IpMonitorView.h 2 1/27/00 10:35p Markr $
- //
- ///////////////////////////////////////////////////////////////////////////////
- // IpMonitorView.h : interface of the CIpMonitorView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_IPMONITORVIEW_H__A9C4641A_3D88_4929_BB58_AEC265D88686__INCLUDED_)
- #define AFX_IPMONITORVIEW_H__A9C4641A_3D88_4929_BB58_AEC265D88686__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CIpMonitorView : public CListView
- {
- protected: // create from serialization only
- CIpMonitorView();
- DECLARE_DYNCREATE(CIpMonitorView)
- // Attributes
- public:
- CIpMonitorDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CIpMonitorView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual LRESULT OnBufferMessage(WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual void reInitView();
- virtual ~CIpMonitorView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- void displayContents(IPHOOK_DATA * data);
- // Generated message map functions
- protected:
- //{{AFX_MSG(CIpMonitorView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDocClear();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in IpMonitorView.cpp
- inline CIpMonitorDoc* CIpMonitorView::GetDocument()
- { return (CIpMonitorDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_IPMONITORVIEW_H__A9C4641A_3D88_4929_BB58_AEC265D88686__INCLUDED_)
- ///////////////////////////////////////////////////////////////////////////////
- //
- // Change History Log
- //
- // $Log: /iphook/usr/IpMonitor/IpMonitorView.h $
- //
- // 2 1/27/00 10:35p Markr
- // Prepare to release!
- //
- ///////////////////////////////////////////////////////////////////////////////