home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / mailx6 / _setup.2 / Group7 / PSheet.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-06  |  1.3 KB  |  53 lines

  1. // MyPropertySheet.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "resource.h"
  6. #include "PSheet.h"
  7.  
  8. #ifdef _DEBUG
  9. #undef THIS_FILE
  10. static char BASED_CODE THIS_FILE[] = __FILE__;
  11. #endif
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CMyPropertySheet
  15.  
  16. IMPLEMENT_DYNAMIC(CMyPropertySheet, CPropertySheet)
  17.  
  18. CMyPropertySheet::CMyPropertySheet(CWnd* pWndParent)
  19.      : CPropertySheet(IDS_PROPSHT_CAPTION, pWndParent)
  20. {
  21.     // Add all of the property pages here.  Note that
  22.     // the order that they appear in here will be
  23.     // the order they appear in on screen.  By default,
  24.     // the first page of the set is the active one.
  25.     // One way to make a different property page the 
  26.     // active one is to call SetActivePage().
  27.  
  28.     AddPage(&m_Page1);
  29.     AddPage(&m_Page2);
  30.     AddPage(&m_Page3);
  31.     AddPage(&m_Page4);
  32.     AddPage(&m_Page5);
  33.     
  34.     SetWizardMode();
  35. }
  36.  
  37. CMyPropertySheet::~CMyPropertySheet()
  38. {
  39. }
  40.  
  41.  
  42. BEGIN_MESSAGE_MAP(CMyPropertySheet, CPropertySheet)
  43.     //{{AFX_MSG_MAP(CMyPropertySheet)
  44.         // NOTE - the ClassWizard will add and remove mapping macros here.
  45.     //}}AFX_MSG_MAP
  46. END_MESSAGE_MAP()
  47.  
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CMyPropertySheet message handlers
  51.  
  52.  
  53.