home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / CATALG2.PAK / COLPAGE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.6 KB  |  60 lines

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