nameinputdlg.cpp

来自「该程序功能:用JAVa实现的彩色五珠棋小游戏」· C++ 代码 · 共 45 行

CPP
45
字号
// NameInputDlg.cpp : implementation file
//

#include "stdafx.h"
#include "FivePlus.h"
#include "NameInputDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CNameInputDlg dialog


CNameInputDlg::CNameInputDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CNameInputDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CNameInputDlg)
	m_szName = _T("");
	//}}AFX_DATA_INIT
}


void CNameInputDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CNameInputDlg)
	DDX_Text(pDX, IDC_EDIT_NAME, m_szName);
	DDV_MaxChars(pDX, m_szName, 20);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CNameInputDlg, CDialog)
	//{{AFX_MSG_MAP(CNameInputDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CNameInputDlg message handlers

⌨️ 快捷键说明

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