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

📄 myscroll.cpp

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

#include "stdafx.h"
#include "BTreeDemo.h"
#include "MyScroll.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyScroll

CMyScroll::CMyScroll()
{
}

CMyScroll::~CMyScroll()
{
}


BEGIN_MESSAGE_MAP(CMyScroll, CScrollBar)
	//{{AFX_MSG_MAP(CMyScroll)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyScroll message handlers
void CMyScroll::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)  {
    CDC* pDC      = CDC::FromHandle(lpDrawItemStruct->hDC);
	CRect rc	  = lpDrawItemStruct->rcItem;
	CBrush brush;
	brush.CreateSolidBrush(RGB(100,100,233));
	pDC->FillRect(rc,&brush);
	CMyScroll::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);

}

⌨️ 快捷键说明

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