www.pudn.com > EthernetSpy.zip > EthernetSpyDlg.h


// EthernetSpyDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CEthernetSpyDlg dialog 
 
class CEthernetSpyDlg : public CDialog 
{ 
private: 
	EthernetSpyReader* SpyReader; 
 
	UINT uiTimer; 
	UINT uiPos; 
	BOOL IsScrolling; 
	UINT uiLastRead; 
 
// Construction 
public:	
	CWnd* MyParent;
	CEthernetSpyDlg(EthernetSpyReader* _SpyReader, CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CEthernetSpyDlg) 
	enum { IDD = IDD_SPYDLG }; 
	CListBox	m_SpyList; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CEthernetSpyDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CEthernetSpyDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnStart(); 
	afx_msg void OnStop(); 
	afx_msg void OnClose(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
 
#define WM_SPYDLGCLOSE (WM_USER+1)