infoctrl.cpp

来自「CAM-TOOL 是高效率高质量的模具制造的最好CAM解决方案。在当今的 Win」· C++ 代码 · 共 53 行

CPP
53
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?