home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / npp / npdoc.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  52 lines

  1. // npdoc.h : interface of the CNotepadDoc 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.  
  14. class CNotepadDoc : public CDocument
  15. {
  16. protected: // create from serialization only
  17.     CNotepadDoc();
  18.     DECLARE_DYNCREATE(CNotepadDoc)
  19.  
  20. // Attributes
  21. public:
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CNotepadDoc)
  29.     public:
  30.     virtual BOOL OnNewDocument();
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CNotepadDoc();
  36.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  37. #ifdef _DEBUG
  38.     virtual void AssertValid() const;
  39.     virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41.  
  42. protected:
  43.  
  44. // Generated message map functions
  45. protected:
  46.     //{{AFX_MSG(CNotepadDoc)
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.