www.gusucode.com > VC++开发的魔方游戏的源程序-源码程序 > VC++开发的魔方游戏的源程序-源码程序\code\SetStepDlg.cpp

    // SetStepDlg.cpp : implementation file
// Download by http://www.NewXing.com

#include "stdafx.h"
#include "MxCubes.h"
#include "SetStepDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSetStepDlg dialog


CSetStepDlg::CSetStepDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CSetStepDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSetStepDlg)
	m_nStep = 0;
	//}}AFX_DATA_INIT
}


void CSetStepDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetStepDlg)
	DDX_Text(pDX, IDC_STEP_EDIT, m_nStep);
	DDV_MinMaxInt(pDX, m_nStep, 0, 20);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSetStepDlg, CDialog)
	//{{AFX_MSG_MAP(CSetStepDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSetStepDlg message handlers