home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / tutorial / contain / step1 / contrdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.0 KB  |  46 lines

  1. // ContrDoc.h : interface of the CContainerDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5.  
  6. class CContainerDoc : public COleDocument
  7. {
  8. protected: // create from serialization only
  9.     CContainerDoc();
  10.     DECLARE_DYNCREATE(CContainerDoc)
  11.  
  12. // Attributes
  13. public:
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CContainerDoc)
  21.     public:
  22.     virtual BOOL OnNewDocument();
  23.     virtual void Serialize(CArchive& ar);
  24.     //}}AFX_VIRTUAL
  25.  
  26. // Implementation
  27. public:
  28.     virtual ~CContainerDoc();
  29. #ifdef _DEBUG
  30.     virtual void AssertValid() const;
  31.     virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33.  
  34. protected:
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CContainerDoc)
  39.         // NOTE - the ClassWizard will add and remove member functions here.
  40.         //    DO NOT EDIT what you see in these blocks of generated code !
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46.