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

📄 randomedit.cpp

📁 手机选中奖号器
💻 CPP
字号:
// RandomEdit.cpp : implementation file
//

#include "stdafx.h"
#include "RandomPhone.h"
#include "RandomEdit.h"

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

/////////////////////////////////////////////////////////////////////////////
// CRandomEdit

CRandomEdit::CRandomEdit()
{
}

CRandomEdit::~CRandomEdit()
{
}


BEGIN_MESSAGE_MAP(CRandomEdit, CEdit)
	//{{AFX_MSG_MAP(CRandomEdit)
	ON_WM_CTLCOLOR()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRandomEdit message handlers

HBRUSH CRandomEdit::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 
{
	HBRUSH hbr = CEdit::OnCtlColor(pDC, pWnd, nCtlColor);
	
	// TODO: Change any attributes of the DC here

    //if (nCtlColor == CTLCOLOR_EDIT )
      pDC ->SetTextColor (RGB (0, 255 , 0 ) );
	
	// TODO: Return a different brush if the default is not desired
	return hbr;
}


⌨️ 快捷键说明

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