⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settingdlg.cpp

📁 该程序功能:用JAVa实现的彩色五珠棋小游戏
💻 CPP
字号:
// SettingDlg.cpp : implementation file
//

#include "stdafx.h"
#include "FivePlus.h"
#include "SettingDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSettingDlg dialog


CSettingDlg::CSettingDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CSettingDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSettingDlg)
	m_nAnyFreq = 0;
	m_nCommonFreq = 0;
	m_nCrackFreq = 0;
	m_nExtraScore = 0;
	m_nMove = 0;
	m_nSelect = 0;
	m_nShow = 0;
	//}}AFX_DATA_INIT
}


void CSettingDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSettingDlg)
	DDX_Text(pDX, IDC_EDIT_ANY_FREQ, m_nAnyFreq);
	DDV_MinMaxInt(pDX, m_nAnyFreq, 1, 100);
	DDX_Text(pDX, IDC_EDIT_COMMON_FREQ, m_nCommonFreq);
	DDV_MinMaxInt(pDX, m_nCommonFreq, 1, 100);
	DDX_Text(pDX, IDC_EDIT_CRACK_FREQ, m_nCrackFreq);
	DDV_MinMaxInt(pDX, m_nCrackFreq, 1, 100);
	DDX_Text(pDX, IDC_EDIT_EXTRA_SCORE, m_nExtraScore);
	DDV_MinMaxInt(pDX, m_nExtraScore, 1, 500);
	DDX_Text(pDX, IDC_EDIT_MOVE, m_nMove);
	DDV_MinMaxUInt(pDX, m_nMove, 1, 200);
	DDX_Text(pDX, IDC_EDIT_SELECT, m_nSelect);
	DDV_MinMaxUInt(pDX, m_nSelect, 1, 200);
	DDX_Text(pDX, IDC_EDIT_SHOW, m_nShow);
	DDV_MinMaxUInt(pDX, m_nShow, 1, 200);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSettingDlg, CDialog)
	//{{AFX_MSG_MAP(CSettingDlg)
	//ON_COMMAND(ID_TOOL_SETTING, OnToolSetting)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSettingDlg message handlers

/*void CSettingDlg::OnToolSetting() 
{
	// TODO: Add your command handler code here
	CSettingDlg dlg;
	dlg.DoModal();
}*/

⌨️ 快捷键说明

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