www.pudn.com > findIP.rar > SearchIPDlg.h


// SearchIPDlg.h : header file 
// 
 
#if !defined(AFX_SearchIPDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_) 
#define AFX_SearchIPDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_ 
 
#include "UDP.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CSearchIPDlg dialog 
 
class CSearchIPDlg : public CDialog 
{ 
// Construction 
public: 
	void OnReceive(); 
	CUDP m_UDPSocket; 
 	CString	m_strIP; 
	//CString	m_strIP2; 
 
	CSearchIPDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CSearchIPDlg) 
	enum { IDD = IDD_SEARCHIP_DIALOG }; 
	CListBox	m_ListBox; 
	CIPAddressCtrl	m_IPEnd; 
	CListCtrl	m_ListView; 
	CIPAddressCtrl	m_IPStart; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSearchIPDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CSearchIPDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnBtnStart(); 
	afx_msg void OnFieldchangedIpaddress1(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnBtnExit(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SearchIPDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_)