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

📄 incomewizardinvestcountdlg.cpp

📁 这是一个学生信息管理系统
💻 CPP
字号:
// IncomeWizardInvestCountDlg.cpp : 实现文件
//

#include "stdafx.h"
#include "SMS.h"
#include "IncomeWizardInvestCountDlg.h"


// CIncomeWizardInvestCountDlg 对话框

IMPLEMENT_DYNAMIC(CIncomeWizardInvestCountDlg, CDialog)

CIncomeWizardInvestCountDlg::CIncomeWizardInvestCountDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CIncomeWizardInvestCountDlg::IDD, pParent)
	, m_iInvestCount(0)
{
	m_backcolor=m_RGB_BkColor;
	m_brush.CreateSolidBrush(m_backcolor);
}

CIncomeWizardInvestCountDlg::~CIncomeWizardInvestCountDlg()
{
}

void CIncomeWizardInvestCountDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_CBIndex(pDX, IDC_INVEST_COUNT_COMBO, m_iInvestCount);
}


BEGIN_MESSAGE_MAP(CIncomeWizardInvestCountDlg, CDialog)
	ON_WM_CTLCOLOR()
END_MESSAGE_MAP()


// CIncomeWizardInvestCountDlg 消息处理程序
HBRUSH CIncomeWizardInvestCountDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
	HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);

	// TODO:  在此更改 DC 的任何属性
	if(m_bColor)//如果用系统的,则直接返回
		return hbr;
	pDC->SetTextColor (m_RGB_CtrlColor);
	pDC->SetBkMode(BKMODE_LAST);pDC->SetBkColor (m_RGB_BkColor);
	return (HBRUSH)m_brush.GetSafeHandle ();
	// TODO:  如果默认的不是所需画笔,则返回另一个画笔
//	return hbr;
}

⌨️ 快捷键说明

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