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 / colpage.cpp < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  59 lines

  1. // ColumnPage.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 "ColPage.h"
  16.  
  17. #ifdef _DEBUG
  18. #undef THIS_FILE
  19. static char THIS_FILE[] = __FILE__;
  20. #endif
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CColumnPage property page
  24.  
  25. IMPLEMENT_DYNCREATE(CColumnPage, CPropertyPage)
  26.  
  27. CColumnPage::CColumnPage() : CPropertyPage(CColumnPage::IDD)
  28. {
  29.     //{{AFX_DATA_INIT(CColumnPage)
  30.     m_bLength = FALSE;
  31.     m_bNullability = FALSE;
  32.     m_bPrecision = FALSE;
  33.     //}}AFX_DATA_INIT
  34. }
  35.  
  36. CColumnPage::~CColumnPage()
  37. {
  38. }
  39.  
  40. void CColumnPage::DoDataExchange(CDataExchange* pDX)
  41. {
  42.     CPropertyPage::DoDataExchange(pDX);
  43.     //{{AFX_DATA_MAP(CColumnPage)
  44.     DDX_Check(pDX, IDC_LENGTH, m_bLength);
  45.     DDX_Check(pDX, IDC_NULLABILITY, m_bNullability);
  46.     DDX_Check(pDX, IDC_PRECISION, m_bPrecision);
  47.     //}}AFX_DATA_MAP
  48. }
  49.  
  50.  
  51. BEGIN_MESSAGE_MAP(CColumnPage, CPropertyPage)
  52.     //{{AFX_MSG_MAP(CColumnPage)
  53.         // NOTE: the ClassWizard will add message map macros here
  54.     //}}AFX_MSG_MAP
  55. END_MESSAGE_MAP()
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. // CColumnPage message handlers
  59.