Files
envi-code/SourceCode/Code2026/tg_shs/shs_public/TextHeightDlg.cpp
T

58 lines
1.3 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
// TextHeightDlg.cpp : implementation file
2026-09-28 15:28:50 +08:00
//
#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
}