home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / turbocad / v8trial / TurboCADv8ProfessionalNoReg.exe / Data.Cab / F38800_PaperSpaceWizard.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  1.9 KB  |  61 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. // PaperSpaceWizard.cpp : implementation file
  12. //
  13.  
  14. #include "stdafx.h"
  15. #include "resource.h"
  16. #include "PaperSpaceWizard.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. // CPaperSpaceWizard
  26.  
  27. IMPLEMENT_DYNAMIC(CPaperSpaceWizard, CPropertySheet)
  28.  
  29. CPaperSpaceWizard::CPaperSpaceWizard(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
  30.     :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
  31. {
  32.         // add all the pages of the wizard
  33.     AddPage(&m_Begin);
  34.     AddPage(&m_PaperOrientation);
  35.  
  36.     // set the WIZARD97 flag so we'll get the new look
  37.     m_psh.dwFlags |= PSH_WIZARD;//PSH_WIZARD97;
  38. }
  39.  
  40. CPaperSpaceWizard::CPaperSpaceWizard(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
  41.     :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
  42. {
  43.         // add all the pages of the wizard
  44.     AddPage(&m_Begin);
  45.     AddPage(&m_PaperOrientation);
  46. }
  47.  
  48. CPaperSpaceWizard::~CPaperSpaceWizard()
  49. {
  50. }
  51.  
  52.  
  53. BEGIN_MESSAGE_MAP(CPaperSpaceWizard, CPropertySheet)
  54.     //{{AFX_MSG_MAP(CPaperSpaceWizard)
  55.         // NOTE - the ClassWizard will add and remove mapping macros here.
  56.     //}}AFX_MSG_MAP
  57. END_MESSAGE_MAP()
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60. // CPaperSpaceWizard message handlers
  61.