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

📄 linewidthdlg.cpp

📁 Visual c++.程序设计培训教程
💻 CPP
字号:
// LineWidthDlg.cpp : implementation file
//

#include "stdafx.h"
#include "2DCAD.h"
#include "LineWidthDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLineWidthDlg dialog


CLineWidthDlg::CLineWidthDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CLineWidthDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLineWidthDlg)
	m_nLineWidth = 0;
	//}}AFX_DATA_INIT
}


void CLineWidthDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLineWidthDlg)
	DDX_Text(pDX, IDC_EDIT_LINEWIDTH, m_nLineWidth);
	DDV_MinMaxInt(pDX, m_nLineWidth, 0, 20);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CLineWidthDlg message handlers

⌨️ 快捷键说明

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