www.pudn.com > CapturePacket.rar > CapturePacketDlg.h
// CapturePacketDlg.h : header file
//
#include "PacketMsg.h"
#if !defined(AFX_CAPTUREPACKETDLG_H__D2AEA1E0_5D48_4B1A_8AAE_691980FF25EF__INCLUDED_)
#define AFX_CAPTUREPACKETDLG_H__D2AEA1E0_5D48_4B1A_8AAE_691980FF25EF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCapturePacketDlg dialog
class CCapturePacketDlg : public CDialog
{
// Construction
public:
// CString endTime;
CString packetTime;
CWinThread* m_pThread;
CCapturePacketDlg(CWnd* pParent = NULL); // standard constructor
CPacketMsg PacMsg;
// Dialog Data
//{{AFX_DATA(CCapturePacketDlg)
enum { IDD = IDD_CAPTUREPACKET_DIALOG };
CListCtrl m_packet;
CButton m_startBtn;
CButton m_endBtn;
CComboBox m_netCard;
CString m_count;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCapturePacketDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
int draw[20];
int drawNum;
int oldpacketCount;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCapturePacketDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStartButton();
afx_msg void OnEndButton();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CAPTUREPACKETDLG_H__D2AEA1E0_5D48_4B1A_8AAE_691980FF25EF__INCLUDED_)