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

📄 mystatic.cpp

📁 B-树演示程序(vc++)可执行程序.rar
💻 CPP
字号:
// MyStatic.cpp : implementation file
//

#include "stdafx.h"
#include "BTreeDemo.h"
#include "MyStatic.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyStatic

CMyStatic::CMyStatic()
{
}

CMyStatic::~CMyStatic()
{
}


BEGIN_MESSAGE_MAP(CMyStatic, CStatic)
	//{{AFX_MSG_MAP(CMyStatic)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//ON_WM_PAINT()
	ON_WM_ERASEBKGND()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyStatic message handlers
BOOL CMyStatic::OnEraseBkgnd(CDC* pDC)  {
	CBrush brush;
	CRect rc;
	GetClientRect (rc);
	brush.CreateSolidBrush(RGB(13,130,189));
	pDC->FillRect(rc,&brush);
	//CStatic:: OnEraseBkgnd (pDC);
	CStatic::SetBitmap(
    return FALSE;
}

void CMyStatic::OnPaint()  {
		CPaintDC dc(this);
	CStatic::OnPaint();
	dc.SetBkMode(TRANSPARENT);

    //dc.TextOut(0,0,"jfkda");

}

⌨️ 快捷键说明

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