Mydialog2.cpp
资源名称:TTX.rar [点击查看]
上传用户:tengfei20
上传日期:2022-07-03
资源大小:11400k
文件大小:1k
源码类别:
界面编程
开发平台:
C/C++
- // Mydialog2.cpp : implementation file
- //
- #include "stdafx.h"
- #include "TTX.h"
- #include "Mydialog2.h"
- // Mydialog2 dialog
- IMPLEMENT_DYNAMIC(Mydialog2, CDialog)
- Mydialog2::Mydialog2(CWnd* pParent /*=NULL*/)
- : CDialog(Mydialog2::IDD, pParent)
- , X1(0)
- , Y1(0)
- , R(0)
- {
- #ifndef _WIN32_WCE
- EnableActiveAccessibility();
- #endif
- }
- Mydialog2::~Mydialog2()
- {
- }
- void Mydialog2::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- DDX_Text(pDX, IDC_EDIT1, X1);
- DDV_MinMaxInt(pDX, X1, 0, 800);
- DDX_Text(pDX, IDC_EDIT2, Y1);
- DDV_MinMaxInt(pDX, Y1, 0, 800);
- DDX_Text(pDX, IDC_EDIT3, R);
- DDV_MinMaxInt(pDX, R, 0, 800);
- }
- BEGIN_MESSAGE_MAP(Mydialog2, CDialog)
- END_MESSAGE_MAP()
- // Mydialog2 message handlers