mfctestdlg.h

来自「嵌入式WINCE平台下的SOCKET通信程序」· C头文件 代码 · 共 57 行

H
57
字号
// mfctestDlg.h : header file
//

#if !defined(AFX_MFCTESTDLG_H__86AC91C8_EC43_4536_8A87_265AA3870368__INCLUDED_)
#define AFX_MFCTESTDLG_H__86AC91C8_EC43_4536_8A87_265AA3870368__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CClientSocket;
/////////////////////////////////////////////////////////////////////////////
// CMfctestDlg dialog

class CMfctestDlg : public CDialog
{
// Construction
public:
	void Send();
	CMfctestDlg(CWnd* pParent = NULL);	// standard constructor
CClientSocket *m_ClientSocket;
// Dialog Data
	//{{AFX_DATA(CMfctestDlg)
	enum { IDD = IDD_MFCTEST_DIALOG };
	CButton	m_btTCP;
	CString	m_sAddress;
	CString	m_sRecv;
	CString	m_sSend;
	CString	m_sPort;
	//}}AFX_DATA

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

// Implementation
protected:
	LRESULT OnDisconnect(WPARAM wParam, LPARAM lParam);
	LRESULT OnReceive(WPARAM wParam, LPARAM lParam);
	HICON m_hIcon;
    
	// Generated message map functions
	//{{AFX_MSG(CMfctestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	virtual void OnOK();
	afx_msg void OnConnect();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MFCTESTDLG_H__86AC91C8_EC43_4536_8A87_265AA3870368__INCLUDED_)

⌨️ 快捷键说明

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