home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / mtgdi / mtgdidoc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.9 KB  |  84 lines

  1. // mtgdidoc.cpp : implementation of the CThreadDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 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 "mtgdi.h"
  15.  
  16. #include "mtgdidoc.h"
  17.  
  18. #ifdef _DEBUG
  19. #undef THIS_FILE
  20. static char BASED_CODE THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CThreadDoc
  25.  
  26. IMPLEMENT_DYNCREATE(CThreadDoc, CDocument)
  27.  
  28. BEGIN_MESSAGE_MAP(CThreadDoc, CDocument)
  29.     //{{AFX_MSG_MAP(CThreadDoc)
  30.         // NOTE - the ClassWizard will add and remove mapping macros here.
  31.         //    DO NOT EDIT what you see in these blocks of generated code!
  32.     //}}AFX_MSG_MAP
  33. END_MESSAGE_MAP()
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CThreadDoc construction/destruction
  37.  
  38. CThreadDoc::CThreadDoc()
  39. {
  40. }
  41.  
  42. CThreadDoc::~CThreadDoc()
  43. {
  44. }
  45.  
  46. BOOL CThreadDoc::OnNewDocument()
  47. {
  48.     if (!CDocument::OnNewDocument())
  49.         return FALSE;
  50.  
  51.     return TRUE;
  52. }
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CThreadDoc serialization
  56.  
  57. void CThreadDoc::Serialize(CArchive& ar)
  58. {
  59.     if (ar.IsStoring())
  60.     {
  61.     }
  62.     else
  63.     {
  64.     }
  65. }
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68. // CThreadDoc diagnostics
  69.  
  70. #ifdef _DEBUG
  71. void CThreadDoc::AssertValid() const
  72. {
  73.     CDocument::AssertValid();
  74. }
  75.  
  76. void CThreadDoc::Dump(CDumpContext& dc) const
  77. {
  78.     CDocument::Dump(dc);
  79. }
  80. #endif //_DEBUG
  81.  
  82. /////////////////////////////////////////////////////////////////////////////
  83. // CThreadDoc commands
  84.