home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / catalog2 / tabpage.cpp < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  59 lines

  1. // TablePage.cpp : implementation file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "stdafx.h"
  14. #include "catalog2.h"
  15. #include "TabPage.h"
  16.  
  17. #ifdef _DEBUG
  18. #undef THIS_FILE
  19. static char THIS_FILE[] = __FILE__;
  20. #endif
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CTablePage property page
  24.  
  25. IMPLEMENT_DYNCREATE(CTablePage, CPropertyPage)
  26.  
  27. CTablePage::CTablePage() : CPropertyPage(CTablePage::IDD)
  28. {
  29.     //{{AFX_DATA_INIT(CTablePage)
  30.     m_bSynonyms = FALSE;
  31.     m_bSystemTables = FALSE;
  32.     m_bViews = FALSE;
  33.     //}}AFX_DATA_INIT
  34. }
  35.  
  36. CTablePage::~CTablePage()
  37. {
  38. }
  39.  
  40. void CTablePage::DoDataExchange(CDataExchange* pDX)
  41. {
  42.     CPropertyPage::DoDataExchange(pDX);
  43.     //{{AFX_DATA_MAP(CTablePage)
  44.     DDX_Check(pDX, IDC_ALIAI, m_bSynonyms);
  45.     DDX_Check(pDX, IDC_SYSTABLES, m_bSystemTables);
  46.     DDX_Check(pDX, IDC_VIEWS, m_bViews);
  47.     //}}AFX_DATA_MAP
  48. }
  49.  
  50.  
  51. BEGIN_MESSAGE_MAP(CTablePage, CPropertyPage)
  52.     //{{AFX_MSG_MAP(CTablePage)
  53.         // NOTE: the ClassWizard will add message map macros here
  54.     //}}AFX_MSG_MAP
  55. END_MESSAGE_MAP()
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. // CTablePage message handlers
  59.