www.pudn.com > CHA05.rar > XECHOSERVERDLG.H


// XEchoServerDlg.h : header file
//
//{{AFX_INCLUDES()
#include "xsockserver.h"
//}}AFX_INCLUDES

#if !defined(AFX_XECHOSERVERDLG_H__7D1AF667_E48A_11D3_B4B0_00C04F2B300E__INCLUDED_)
#define AFX_XECHOSERVERDLG_H__7D1AF667_E48A_11D3_B4B0_00C04F2B300E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CXEchoServerDlg dialog

class CXEchoServerDlg : public CDialog
{
// Construction
public:
CXEchoServerDlg(CWnd* pParent = NULL); // standard constructor

// Dialog Data
//{{AFX_DATA(CXEchoServerDlg)
enum { IDD = IDD_XECHOSERVER_DIALOG };
CString m_EchoString;
CXSockServer m_server1;
long m_nConnections;
CString m_ErrorStatus;
//}}AFX_DATA

// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CXEchoServerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL

// Implementation
protected:
// long m_nConnections;
BOOL m_AttachStatus[2];
HICON m_hIcon;
CString DlgStr;

// Generated message map functions
//{{AFX_MSG(CXEchoServerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOnAcceptXsockserverctrl1(long lChildId);
afx_msg void OnOnErrorXsockserverctrl1(LPCTSTR lpErrorDescription);
afx_msg void OnOnReceiveXsockserverctrl1(long lChildId, LPCTSTR lpData, long lDataLen);
afx_msg void OnOnCloseXsockserverctrl1(long lChildId);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_XECHOSERVERDLG_H__7D1AF667_E48A_11D3_B4B0_00C04F2B300E__INCLUDED_)