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

📄 plate.cpp

📁 远程视频监控系统最新程序代码
💻 CPP
字号:
// Plate.cpp : implementation file
//

#include "stdafx.h"
#include "Operat.h"
#include "Plate.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPlate

IMPLEMENT_DYNCREATE(CPlate, CView)

CPlate::CPlate()
{
}

CPlate::~CPlate()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CPlate drawing

void CPlate::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	CreateTrackbar();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// CPlate diagnostics

#ifdef _DEBUG
void CPlate::AssertValid() const
{
	CView::AssertValid();
}

void CPlate::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CPlate message handlers

void CPlate::CreateTrackbar()
{
	m_trackbar.Create(WS_CHILD | WS_VISIBLE | WS_BORDER |
		TBS_AUTOTICKS | TBS_BOTH | TBS_HORZ,
		CRect(20, 100+10, 220, 100+60), this, IDC_TRACKBAR);
	m_trackbar.SetRange(0, 1000, TRUE);
	m_trackbar.SetTicFreq(50);
	m_trackbar.SetLineSize(2);
	m_trackbar.SetPageSize(100);
}

⌨️ 快捷键说明

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