Files
envi-code/SourceCode/Code2026/tg_shs/shs_public/TextHeightDlg.cpp
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

59 lines
1.3 KiB
C++

// TextHeightDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TextHeightDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTextHeightDlg dialog
CTextHeightDlg::CTextHeightDlg(CWnd* pParent /*=NULL*/)
: CDialog(CTextHeightDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CTextHeightDlg)
m_bAcad = FALSE;
m_bDim = FALSE;
m_bLayer = FALSE;
m_bTch = FALSE;
m_nHeight = 3.5;
//}}AFX_DATA_INIT
}
void CTextHeightDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTextHeightDlg)
DDX_Check(pDX, IDC_CHECK_ACAD, m_bAcad);
DDX_Check(pDX, IDC_CHECK_DIM, m_bDim);
DDX_Check(pDX, IDC_CHECK_LAYER, m_bLayer);
DDX_Check(pDX, IDC_CHECK_TCH, m_bTch);
DDX_Text(pDX, IDC_EDIT_HEIGHT, m_nHeight);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTextHeightDlg, CDialog)
//{{AFX_MSG_MAP(CTextHeightDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTextHeightDlg message handlers
BOOL CTextHeightDlg::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}