namepage.h

来自「Visual C++网络通信编程实用案例精逊配套源码 光盘中存放的是书中涉及」· C头文件 代码 · 共 58 行

H
58
字号
// NamePage.h : interface of the CNamePage class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1997-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

/////////////////////////////////////////////////////////////////////////////
// CNamePage dialog

class CHttpSvrDoc;

class CNamePage : public CPropertyPage
{
	DECLARE_DYNCREATE(CNamePage)

// Construction
public:
	 CNamePage( CHttpSvrDoc* pDoc );
	CHttpSvrDoc* m_pDoc;
	CNamePage();
	~CNamePage();

// Dialog Data
	//{{AFX_DATA(CNamePage)
	enum { IDD = IDD_NAMEPAGE };
	CString m_strName;
	int     m_nNameSetting;
	UINT    m_uPort;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CNamePage)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CNamePage)
	virtual BOOL OnInitDialog();
	afx_msg void OnDefName();
	afx_msg void OnUseName();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

⌨️ 快捷键说明

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