DlgGeoZoom.cpp
上传用户:gdjinyi
上传日期:2013-02-01
资源大小:1701k
文件大小:1k
源码类别:

源码/资料

开发平台:

Visual C++

  1. // DlgGeoZoom.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ch1_1.h"
  5. #include "DlgGeoZoom.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDlgGeoZoom dialog
  13. CDlgGeoZoom::CDlgGeoZoom(CWnd* pParent /*=NULL*/)
  14. : CDialog(CDlgGeoZoom::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CDlgGeoZoom)
  17. m_XZoom = 0.0f;
  18. m_YZoom = 0.0f;
  19. //}}AFX_DATA_INIT
  20. }
  21. void CDlgGeoZoom::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CDlgGeoZoom)
  25. DDX_Text(pDX, IDC_EDIT_XZoom, m_XZoom);
  26. DDV_MinMaxFloat(pDX, m_XZoom, 0.25f, 4.f);
  27. DDX_Text(pDX, IDC_EDIT_YZoom, m_YZoom);
  28. DDV_MinMaxFloat(pDX, m_YZoom, 0.25f, 4.f);
  29. //}}AFX_DATA_MAP
  30. }
  31. BEGIN_MESSAGE_MAP(CDlgGeoZoom, CDialog)
  32. //{{AFX_MSG_MAP(CDlgGeoZoom)
  33. // NOTE: the ClassWizard will add message map macros here
  34. //}}AFX_MSG_MAP
  35. END_MESSAGE_MAP()
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CDlgGeoZoom message handlers