www.pudn.com > MyQQ.rar > MyQQDlg.h


// MyQQDlg.h : header file 
// 
 
#if !defined(AFX_MYQQDLG_H__61884963_E3A2_447A_B162_85A654677B9C__INCLUDED_) 
#define AFX_MYQQDLG_H__61884963_E3A2_447A_B162_85A654677B9C__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyQQDlg dialog 
 
class CMyQQDlg : public CDialog 
{ 
// Construction 
public: 
	CMyQQDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CMyQQDlg) 
	enum { IDD = IDD_MYQQ_DIALOG }; 
	CListBox	m_listMsg; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMyQQDlg) 
	public: 
	virtual BOOL DestroyWindow(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
	LRESULT OnAccept(WPARAM wParam, LPARAM lParam); 
	LRESULT OnReadClose(WPARAM wParam, LPARAM lParam); 
	 
//Operations 
public: 
	void CloseClientList(); 
	 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	SOCKET m_sockServer; 
	SOCKADDR_IN m_sockServerAddr; 
 
	CUIntArray m_sockClientArray; 
	Msg msg; 
 
	// Generated message map functions 
	//{{AFX_MSG(CMyQQDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MYQQDLG_H__61884963_E3A2_447A_B162_85A654677B9C__INCLUDED_)