speed.cpp
来自「这是在一本Visual C++6.0多媒体开发的书上得到的源码,很不错.」· C++ 代码 · 共 44 行
CPP
44 行
// Speed.cpp : implementation file
//
#include "stdafx.h"
#include "VideoPlayer.h"
#include "Speed.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSpeed dialog
CSpeed::CSpeed(CWnd* pParent /*=NULL*/)
: CDialog(CSpeed::IDD, pParent)
{
//{{AFX_DATA_INIT(CSpeed)
m_speed = 0;
//}}AFX_DATA_INIT
}
void CSpeed::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSpeed)
DDX_Text(pDX, IDC_SPEED, m_speed);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSpeed, CDialog)
//{{AFX_MSG_MAP(CSpeed)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSpeed message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?