📄 infoctrl.cpp
字号:
// InfoCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "CamTool.h"
#include "InfoCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInfoCtrl property page
IMPLEMENT_DYNCREATE(CInfoCtrl, CPropertyPage)
CInfoCtrl::CInfoCtrl() : CPropertyPage(CInfoCtrl::IDD)
{
//{{AFX_DATA_INIT(CInfoCtrl)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CInfoCtrl::~CInfoCtrl()
{
}
void CInfoCtrl::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInfoCtrl)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInfoCtrl, CPropertyPage)
//{{AFX_MSG_MAP(CInfoCtrl)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInfoCtrl message handlers
void CInfoCtrl::ReDrawItem(char str[2][20])
{
GetDlgItem(IDC_FWVER)->SetWindowText(str[0]);
GetDlgItem(IDC_NUM)->SetWindowText(str[1]);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -