home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / dbvlist / dbvlistdoc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.6 KB  |  73 lines

  1. // DBVListDoc.cpp : implementation of the CDBVListDoc class
  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 "DBVList.h"
  15.  
  16. #include "DBVListSet.h"
  17. #include "DBVListDoc.h"
  18.  
  19. #ifdef _DEBUG
  20. #define new DEBUG_NEW
  21. #undef THIS_FILE
  22. static char THIS_FILE[] = __FILE__;
  23. #endif
  24.  
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CDBVListDoc
  27.  
  28. IMPLEMENT_DYNCREATE(CDBVListDoc, CDocument)
  29.  
  30. BEGIN_MESSAGE_MAP(CDBVListDoc, CDocument)
  31.     //{{AFX_MSG_MAP(CDBVListDoc)
  32.     //}}AFX_MSG_MAP
  33. END_MESSAGE_MAP()
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CDBVListDoc construction/destruction
  37.  
  38. CDBVListDoc::CDBVListDoc()
  39. {
  40. }
  41.  
  42. CDBVListDoc::~CDBVListDoc()
  43. {
  44. }
  45.  
  46. BOOL CDBVListDoc::OnNewDocument()
  47. {
  48.     if (!CDocument::OnNewDocument())
  49.         return FALSE;
  50.  
  51.     return TRUE;
  52. }
  53.  
  54.  
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57. // CDBVListDoc diagnostics
  58.  
  59. #ifdef _DEBUG
  60. void CDBVListDoc::AssertValid() const
  61. {
  62.     CDocument::AssertValid();
  63. }
  64.  
  65. void CDBVListDoc::Dump(CDumpContext& dc) const
  66. {
  67.     CDocument::Dump(dc);
  68. }
  69. #endif //_DEBUG
  70.  
  71. /////////////////////////////////////////////////////////////////////////////
  72. // CDBVListDoc commands
  73.