home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Scrview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-30  |  2.1 KB  |  79 lines

  1. // ScrView.h : interface of the CScrView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MFCVIEW_H__20697B0F_0F36_11D2_8DD4_0060087BAA97__INCLUDED_)
  6. #define AFX_MFCVIEW_H__20697B0F_0F36_11D2_8DD4_0060087BAA97__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CScrView : public CView
  13. {
  14. protected: // create from serialization only
  15.     CScrView();
  16.     DECLARE_DYNCREATE(CScrView)
  17.  
  18. // Attributes
  19. public:
  20.     CScrDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CScrView)
  28.     public:
  29.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     protected:
  32.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  33.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  34.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     CLead m_LeadBitmap;
  40.     virtual ~CScrView();
  41. #ifdef _DEBUG
  42.     virtual void AssertValid() const;
  43.     virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45.  
  46. protected:
  47.  
  48. // Generated message map functions
  49. protected:
  50.     //{{AFX_MSG(CScrView)
  51. //    afx_msg void OnCaptureFromexedlgtabbedview();
  52. ///    afx_msg void OnCaptureFullscreen();
  53. ///    afx_msg void OnCaptureMousecursor();
  54. ///    afx_msg void OnCaptureSelectedobject();
  55. ///    afx_msg void OnCaptureWindowundercursor();
  56. //    afx_msg void OnOptionsObject();
  57.  
  58.     afx_msg void OnFileSaveAs();
  59.     afx_msg void OnSize(UINT nType, int cx, int cy);
  60.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65. #ifndef _DEBUG  // debug version in MFCView.cpp
  66. inline CScrDoc* CScrView::GetDocument()
  67.    { return (CScrDoc*)m_pDocument; }
  68. #endif
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71.  
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  74.  
  75. #endif // !defined(AFX_MFCVIEW_H__20697B0F_0F36_11D2_8DD4_0060087BAA97__INCLUDED_)
  76.  
  77.  
  78.  
  79.