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

📄 tsfont.cpp

📁 Visual C++_ 600 编程学习捷径
💻 CPP
字号:
// TsFont.cpp : implementation file
//

#include "stdafx.h"
#include "draw.h"
#include "TsFont.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTsFont dialog


CTsFont::CTsFont(CWnd* pParent /*=NULL*/)
	: CDialog(CTsFont::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTsFont)
	m_lfHeight = 0;
	m_lfWidth = 0;
	m_lfEscapement = 0;
	m_lfOrientation = 0;
	m_lfWeight = 0;
	m_crColor = 0;
	//}}AFX_DATA_INIT
}


void CTsFont::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTsFont)
	DDX_Text(pDX, IDC_EDIT1, m_lfHeight);
	DDV_MinMaxLong(pDX, m_lfHeight, 0, 900);
	DDX_Text(pDX, IDC_EDIT2, m_lfWidth);
	DDV_MinMaxLong(pDX, m_lfWidth, -100, 900);
	DDX_Text(pDX, IDC_EDIT3, m_lfEscapement);
	DDV_MinMaxLong(pDX, m_lfEscapement, 0, 3600);
	DDX_Text(pDX, IDC_EDIT4, m_lfOrientation);
	DDV_MinMaxLong(pDX, m_lfOrientation, 0, 900);
	DDX_Text(pDX, IDC_EDIT5, m_lfWeight);
	DDV_MinMaxLong(pDX, m_lfWeight, 0, 900);
	DDX_Text(pDX, IDC_EDIT6, m_crColor);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTsFont, CDialog)
	//{{AFX_MSG_MAP(CTsFont)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTsFont message handlers

⌨️ 快捷键说明

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