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

📄 dlgmodal.cpp

📁 dialongtest1 是一个简单的程序
💻 CPP
字号:
// DlgModal.cpp : implementation file
//

#include "stdafx.h"
#include "DialogTest1.h"
#include "DlgModal.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgModal dialog


CDlgModal::CDlgModal(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgModal::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgModal)
	m_Red = 0;
	m_Green = 0;
	m_Blue = 0;
	//}}AFX_DATA_INIT
}


void CDlgModal::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgModal)
	DDX_Text(pDX, IDC_EDIT_RED, m_Red);
	DDV_MinMaxInt(pDX, m_Red, 0, 255);
	DDX_Text(pDX, IDC_EDIT_GREEN, m_Green);
	DDV_MinMaxInt(pDX, m_Green, 0, 255);
	DDX_Text(pDX, IDC_EDIT_BLUE, m_Blue);
	DDV_MinMaxInt(pDX, m_Blue, 0, 255);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDlgModal message handlers

⌨️ 快捷键说明

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