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

📄 audiocopygo.cpp

📁 一个USB驱动程序
💻 CPP
字号:
// Audiocopygo.cpp : implementation file
//

#include "stdafx.h"
#include "DEC55XXUSB.h"
#include "Audiocopygo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAudiocopygo dialog


CAudiocopygo::CAudiocopygo(CWnd* pParent /*=NULL*/)
	: CDialog(CAudiocopygo::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAudiocopygo)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CAudiocopygo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAudiocopygo)
	DDX_Control(pDX, IDC_CODECCOPYGO, m_codeccopygo);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAudiocopygo, CDialog)
	//{{AFX_MSG_MAP(CAudiocopygo)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAudiocopygo message handlers

void CAudiocopygo::goahead(int count)
{
	m_codeccopygo.OffsetPos(count);
}

BOOL CAudiocopygo::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// 初始化进度条
	int progresslow;
	int progresshigh;
	m_codeccopygo.GetRange(progresslow,progresshigh);
	m_progresslong = progresshigh - progresslow;
	m_stepvalue = (theApp.m_CodecFileLong * 1024)/m_progresslong;
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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