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  |  1997-11-03  |  1.3 KB  |  60 lines

  1. // mfcdeDoc.h : interface of the CMfcdemoDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMfcdemoDoc : public CDocument
  6. {
  7. protected: // create from serialization only
  8.     CMfcdemoDoc();
  9.     DECLARE_DYNCREATE(CMfcdemoDoc)
  10.  
  11. // Attributes
  12. public:
  13.     CLead    m_Lead;
  14.     CLead    m_Lead2;
  15.     CLead    m_LeadUndo;
  16.    short m_nFormat;
  17.    short m_nBits;
  18.    short m_nQFactor;
  19.    BOOL m_fMultipage;
  20.  
  21. // Operations
  22. public:
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CMfcdemoDoc)
  27.     public:
  28.     virtual BOOL OnNewDocument();
  29.     virtual void Serialize(CArchive& ar);
  30.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  31.     virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. public:
  36.     virtual ~CMfcdemoDoc();
  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(CMfcdemoDoc)
  47.     afx_msg void OnFileSaveAs();
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. public:
  51.     BOOL OnOpenColorMerge();
  52.     BOOL OnOpenTwain();
  53.     BOOL OnOpenIsis();
  54.     BOOL OnOpenBitmap();
  55.     BOOL OnOpenCapture();
  56.     BOOL OnOpenPaste();
  57. };
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.