setupdlg.cpp

来自「八数码小游戏」· C++ 代码 · 共 54 行

CPP
54
字号
// SetupDlg.cpp : implementation file
//

#include "stdafx.h"
#include "EightNum.h"
#include "SetupDlg.h"
#include ".\setupdlg.h"


// CSetupDlg dialog

IMPLEMENT_DYNAMIC(CSetupDlg, CDialog)
CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CSetupDlg::IDD, pParent)
	, m_iInterval(500)
	, m_bShow(FALSE)
{
}

CSetupDlg::~CSetupDlg()
{
}

void CSetupDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_INTERVAL, m_iInterval);
	DDV_MinMaxInt(pDX, m_iInterval, 500, 2000);
	DDX_Check(pDX, IDC_ISHOW, m_bShow);
}


BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
END_MESSAGE_MAP()


// CSetupDlg message handlers

//BOOL CSetupDlg::OnInitDialog()
//{
//	CDialog::OnInitDialog();
//
//	// TODO:  Add extra initialization here
//
//	return TRUE;  // return TRUE unless you set the focus to a control
//	// EXCEPTION: OCX Property Pages should return FALSE
//}

//void CSetupDlg::OnOK()
//{
//	// TODO: Add your specialized code here and/or call the base class
//	CDialog::OnOK();
//}

⌨️ 快捷键说明

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