home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / rectpage.cpp1 < prev    next >
Encoding:
Text File  |  2001-10-16  |  1.7 KB  |  58 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // RectPage.cpp : implementation file
  12. //
  13.  
  14. #include "stdafx.h"
  15. #include "resource.h"
  16. #include "RectPage.h"
  17.  
  18. #ifdef _DEBUG
  19. #define new DEBUG_NEW
  20. #undef THIS_FILE
  21. static char THIS_FILE[] = __FILE__;
  22. #endif
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CRectPage dialog
  26.  
  27.  
  28. CRectPage::CRectPage(CWnd* pParent /*=NULL*/)
  29.     : CDialog(CRectPage::IDD, pParent)
  30. {
  31.     m_roundness = 0.0;
  32.     //{{AFX_DATA_INIT(CRectPage)
  33.         // NOTE: the ClassWizard will add member initialization here
  34.     //}}AFX_DATA_INIT
  35. }
  36.  
  37.  
  38. void CRectPage::DoDataExchange(CDataExchange* pDX)
  39. {
  40.     CDialog::DoDataExchange(pDX);
  41.     //{{AFX_DATA_MAP(CRectPage)
  42.         // NOTE: the ClassWizard will add DDX and DDV calls here
  43.     //}}AFX_DATA_MAP
  44.     DDX_Text(pDX, IDC_ROUNDNESS, m_roundness);
  45.     DDV_MinMaxDouble(pDX, m_roundness, 0., 100.);
  46.  
  47. }
  48.  
  49.  
  50. BEGIN_MESSAGE_MAP(CRectPage, CDialog)
  51.     //{{AFX_MSG_MAP(CRectPage)
  52.         // NOTE: the ClassWizard will add message map macros here
  53.     //}}AFX_MSG_MAP
  54. END_MESSAGE_MAP()
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57. // CRectPage message handlers
  58.