📄 dlgabout.cpp
字号:
// DlgAbout.cpp : implementation file
//
#include "stdafx.h"
#include "CardTest.h"
#include "DlgAbout.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgAbout dialog
CDlgAbout::CDlgAbout(CWnd* pParent /*=NULL*/)
: CDialog(CDlgAbout::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgAbout)
//}}AFX_DATA_INIT
}
void CDlgAbout::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgAbout)
DDX_Control(pDX, IDC_TEXT, m_Text);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgAbout, CDialog)
//{{AFX_MSG_MAP(CDlgAbout)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
char *pArrCredit = { "研华板卡测试系统\t||版权 (c) 1.0|"
"同济大学电气工程系||"
"自动化技术研究室||"
"功能\r||"
"1、实现了Pci1713(32路模拟量输入)测试功能||"
"2、实现了Pci1720(模拟量电压输出)测试功能||"
"3、实现了Pcl730(数字量输入/输出)测试功能||"
"——————————————————————\t|||||"
};
/////////////////////////////////////////////////////////////////////////////
// CDlgAbout message handlers
BOOL CDlgAbout::OnInitDialog()
{
CDialog::OnInitDialog();
m_Text.SetColor(4, RGB(0, 255, 0));
m_Text.SetCredits(pArrCredit, '|');
m_Text.SetSpeed(DISPLAY_FAST);
m_Text.SetTransparent(TRUE);
m_Text.SetBkImage(IDB_BK);
m_Text.StartScrolling();
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 + -