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.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  1.6 KB  |  56 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 "RRect.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.     //{{AFX_DATA_INIT(CRectPage)
  32.     m_roundness = 0.0;
  33.     //}}AFX_DATA_INIT
  34. }
  35.  
  36.  
  37. void CRectPage::DoDataExchange(CDataExchange* pDX)
  38. {
  39.     CDialog::DoDataExchange(pDX);
  40.     //{{AFX_DATA_MAP(CRectPage)
  41.     DDX_Text(pDX, IDC_ROUNDNESS, m_roundness);
  42. // set limin for value of Roundess property
  43.     DDV_MinMaxDouble(pDX, m_roundness, 0., 100.);
  44.     //}}AFX_DATA_MAP
  45. }
  46.  
  47.  
  48. BEGIN_MESSAGE_MAP(CRectPage, CDialog)
  49.     //{{AFX_MSG_MAP(CRectPage)
  50.         // NOTE: the ClassWizard will add message map macros here
  51.     //}}AFX_MSG_MAP
  52. END_MESSAGE_MAP()
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CRectPage message handlers
  56.