home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Mfcdedoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-10  |  1.6 KB  |  69 lines

  1. // mfcdedoc.h : interface of the CMfcdemoDoc class
  2. // Copyright (C) 1990, 1998 LEAD Technologies, Inc.
  3. // All rights reserved.
  4.  
  5.  
  6. class CMfcdemoDoc : public CDocument
  7. {
  8. protected: // create from serialization only
  9.    CMfcdemoDoc();
  10.    DECLARE_DYNCREATE(CMfcdemoDoc)
  11.  
  12. // Attributes
  13. public:
  14.  
  15.  
  16. // Operations
  17. public:
  18.  
  19.  
  20. // Overrides
  21.    // ClassWizard generated virtual function overrides
  22.    //{{AFX_VIRTUAL(CMfcdemoDoc)
  23.    public:
  24.    virtual BOOL OnNewDocument();
  25.    virtual void OnCloseDocument();
  26. #ifdef WIN32
  27.    virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  28.    virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  29. #else
  30.    virtual BOOL OnSaveDocument(const char *lpszPathName);
  31.    virtual BOOL OnOpenDocument(const char *lpszPathName);
  32. #endif
  33.    //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.    virtual ~CMfcdemoDoc();
  38.    virtual void Serialize(CArchive& ar);   // overridden for document i/o
  39. #ifdef _DEBUG
  40.    virtual void AssertValid() const;
  41.    virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43.  
  44. protected:
  45.  
  46. // Generated message map functions
  47. protected:
  48.  
  49.    //{{AFX_MSG(CMfcdemoDoc)
  50.       // NOTE - the ClassWizard will add and remove member functions here.
  51.       //    DO NOT EDIT what you see in these blocks of generated code !
  52.    //}}AFX_MSG
  53.    DECLARE_MESSAGE_MAP()
  54. public:
  55.    BOOL OnOpenFile();
  56.    BOOL OnOpenColorMerge();
  57.    BOOL OnOpenTwain();
  58.    BOOL OnOpenBitmap();
  59.    BOOL OnOpenCapture();
  60.    BOOL OnOpenPaste();
  61.  
  62.    CLeadContainer m_LeadContainer;
  63.    CLead m_Lead;
  64.    CLead m_Lead2;
  65.    CLead m_LeadUndo;
  66. };
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69.