home *** CD-ROM | disk | FTP | other *** search
- // mfcdeDoc.h : interface of the CMfcdemoDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CMfcdemoDoc : public CDocument
- {
- protected: // create from serialization only
- CMfcdemoDoc();
- DECLARE_DYNCREATE(CMfcdemoDoc)
-
- // Attributes
- public:
- CLead m_Lead;
- CLead m_Lead2;
- CLead m_LeadUndo;
- short m_nFormat;
- short m_nBits;
- short m_nQFactor;
- BOOL m_fMultipage;
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMfcdemoDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CMfcdemoDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMfcdemoDoc)
- afx_msg void OnFileSaveAs();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- BOOL OnOpenColorMerge();
- BOOL OnOpenTwain();
- BOOL OnOpenIsis();
- BOOL OnOpenBitmap();
- BOOL OnOpenCapture();
- BOOL OnOpenPaste();
- };
-
- /////////////////////////////////////////////////////////////////////////////
-