www.pudn.com > 图形界面聊天软件.rar > ShowInfo.h


#if !defined(AFX_SHOWINFO_H__F57FB921_B83F_4DD5_BD5E_A19185E13655__INCLUDED_) 
#define AFX_SHOWINFO_H__F57FB921_B83F_4DD5_BD5E_A19185E13655__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ShowInfo.h : header file 
// 
#include "ExpandingDialog.h" 
///////////////////////////////////////////////////////////////////////////// 
// CShowInfo dialog 
 
class CShowInfo : public CExpandingDialog 
{ 
// Construction 
public: 
	void FindIP(CString str); 
	CShowInfo(CWnd* pParent = NULL);   // standard constructor 
	CWnd * m_pParent; 
	class IpStruct{ 
	public: 
		CString m_From; 
		CString m_TO; 
		CString m_Add; 
		BOOL Check(CString &str){ 
			if(m_From<=str && m_TO >=str) 
				return TRUE; 
			else 
				return FALSE; 
		} 
	}; 
	CArray m_IPList; 
// Dialog Data 
	//{{AFX_DATA(CShowInfo) 
	enum { IDD = IDD_USERINFO }; 
	CString	m_Address; 
	CString	m_IcqNum; 
	CString	m_IP; 
	CString	m_IPAddress; 
	CString	m_Name; 
	CString	m_Sex; 
	UINT	m_nAge; 
	CString	m_Job; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CShowInfo) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CShowInfo) 
	virtual void OnCancel(); 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SHOWINFO_H__F57FB921_B83F_4DD5_BD5E_A19185E13655__INCLUDED_)