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