⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xechoserverdlg.h

📁 组态软件设计服务端实例
💻 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_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -