newdlg.h

来自「基于TCP/IP的多人聊天程序(包含服务器和客户端)」· C头文件 代码 · 共 50 行

H
50
字号
#if !defined(AFX_NEWDLG_H__62E326B8_F7B7_44D7_B20A_936A8494C84D__INCLUDED_)
#define AFX_NEWDLG_H__62E326B8_F7B7_44D7_B20A_936A8494C84D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NEWDLG.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// NEWDLG dialog

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

// Dialog Data
	//{{AFX_DATA(NEWDLG)
	enum { IDD = IDD_DIALOG1 };
	CString	m_server;
	CString	m_protocol;
	UINT	m_port;
	CString	m_name;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(NEWDLG)
	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_NEWDLG_H__62E326B8_F7B7_44D7_B20A_936A8494C84D__INCLUDED_)

⌨️ 快捷键说明

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