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

📄 rctcolor.cpp

📁 《VC++ 编程技巧与示例 .rar》各个示例代码绝对可用
💻 CPP
字号:
// RCTColor.cpp : implementation file
//

#include "stdafx.h"
#include "MDTTest.h"
#include "RCTColor.h"

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

/////////////////////////////////////////////////////////////////////////////
// CRCTColorDlg dialog


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


void CRCTColorDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CRCTColorDlg)
	DDX_Text(pDX, IDC_RCT_BLUE, m_Blue);
	DDV_MinMaxUInt(pDX, m_Blue, 0, 255);
	DDX_Text(pDX, IDC_RCT_GREEN, m_Green);
	DDV_MinMaxUInt(pDX, m_Green, 0, 255);
	DDX_Text(pDX, IDC_RCT_RED, m_Red);
	DDV_MinMaxUInt(pDX, m_Red, 0, 255);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CRCTColorDlg message handlers

⌨️ 快捷键说明

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