xechoserverdlg.h
来自「組态软件设计与开发的配套源代码」· C头文件 代码 · 共 64 行
H
64 行
// 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 + =
减小字号Ctrl + -
显示快捷键?