namedialog.cpp
来自「用c++编写的简单的绘图程序」· C++ 代码 · 共 44 行
CPP
44 行
// NameDialog.cpp : implementation file
//
#include "stdafx.h"
#include "DRAW1.h"
#include "NameDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNameDialog dialog
CNameDialog::CNameDialog(CWnd* pParent /*=NULL*/)
: CDialog(CNameDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CNameDialog)
m_new_name = _T("");
//}}AFX_DATA_INIT
}
void CNameDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNameDialog)
DDX_CBString(pDX, IDC_NEWNAME_COMBO, m_new_name);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CNameDialog, CDialog)
//{{AFX_MSG_MAP(CNameDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNameDialog message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?