⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editbookdlg.cpp

📁 适合MFC初学者学习
💻 CPP
字号:
// EditBookDlg.cpp : implementation file
//

#include "stdafx.h"
#include "LLL.h"
#include "EditBookDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CEditBookDlg dialog


CEditBookDlg::CEditBookDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CEditBookDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CEditBookDlg)
	m_number = _T("");
	m_type = _T("");
	m_name = _T("");
	m_auther = _T("");
	m_editer = _T("");
	//}}AFX_DATA_INIT
}


void CEditBookDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CEditBookDlg)
	DDX_Text(pDX, IDC_EDIT1, m_number);
	DDX_Text(pDX, IDC_EDIT2, m_type);
	DDX_Text(pDX, IDC_EDIT3, m_name);
	DDX_Text(pDX, IDC_EDIT4, m_auther);
	DDX_Text(pDX, IDC_EDIT5, m_editer);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CEditBookDlg, CDialog)
	//{{AFX_MSG_MAP(CEditBookDlg)
	ON_EN_CHANGE(IDC_EDIT1, OnChangeEdit1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEditBookDlg message handlers

void CEditBookDlg::OnChangeEdit1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

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