www.pudn.com > CBVRtest.rar > InputDlg.cpp


// InputDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "CBVRtestsystem.h" 
#include "InputDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// InputDlg dialog 
 
 
InputDlg::InputDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(InputDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(InputDlg) 
	m_data = 0.0f; 
	m_title = _T(""); 
	m_title2 = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
 
void InputDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(InputDlg) 
	DDX_Text(pDX, IDC_EDIT1, m_data); 
	DDX_Text(pDX, IDC_TITLE, m_title); 
	DDX_Text(pDX, IDC_FANWEI, m_title2); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(InputDlg, CDialog) 
	//{{AFX_MSG_MAP(InputDlg) 
	ON_EN_CHANGE(IDC_EDIT1, OnChangeEdit0) 
	ON_BN_CLICKED(IDC_TITLE, OnTitle) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// InputDlg message handlers 
 
void InputDlg::OnOK()  
{ 
	// TODO: Add extra validation here 
	 
	CDialog::OnOK(); 
} 
 
void InputDlg::OnChangeEdit0()  
{ 
	// 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 
	 
} 
 
void InputDlg::OnTitle()  
{ 
	// TODO: Add your control notification handler code here 
	 
}