www.pudn.com > CarCrash.rar > CarDlg.cpp
// CarDlg.cpp : implementation file
//
#include "stdafx.h"
#include "CarCrash.h"
#include "CarDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCarDlg dialog
CCarDlg::CCarDlg(CWnd* pParent /*=NULL*/)
: CDialog(CCarDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CCarDlg)
m_nNumCars = 0;
//}}AFX_DATA_INIT
}
void CCarDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCarDlg)
DDX_Text(pDX, IDC_EDIT_NUMBER_CARS, m_nNumCars);
DDV_MinMaxInt(pDX, m_nNumCars, 1, 50);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCarDlg, CDialog)
//{{AFX_MSG_MAP(CCarDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCarDlg message handlers