www.pudn.com > CListCtrl.rar > EditDlg.cpp


// EditDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "LCDemo.h" 
#include "EditDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CEditDlg dialog 
 
 
CEditDlg::CEditDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CEditDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CEditDlg) 
	m_strNo = _T(""); 
	m_strScore = _T(""); 
	m_strName = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
 
void CEditDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CEditDlg) 
	DDX_Text(pDX, IDC_EDIT_NO, m_strNo); 
	DDX_Text(pDX, IDC_EDIT_SCORE, m_strScore); 
	DDX_Text(pDX, IDC_EDIT_NAME, m_strName); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CEditDlg, CDialog) 
	//{{AFX_MSG_MAP(CEditDlg) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CEditDlg message handlers