home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / PROPVIEW.ZIP / DevStudio / MyProjects / MdLessPpsh / MdLessPpshView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-20  |  1.9 KB  |  67 lines

  1. // MdLessPpshView.h : interface of the CMdLessPpshView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MDLESSPPSHVIEW_H__D1BCD704_F032_11D1_A7E2_E88B6FC70000__INCLUDED_)
  6. #define AFX_MDLESSPPSHVIEW_H__D1BCD704_F032_11D1_A7E2_E88B6FC70000__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CMdLessPpshView : public CView
  13. {
  14. protected: // create from serialization only
  15.     CMdLessPpshView();
  16.     DECLARE_DYNCREATE(CMdLessPpshView)
  17.  
  18. // Attributes
  19. public:
  20.     CMdLessPpshDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CMdLessPpshView)
  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.     virtual ~CMdLessPpshView();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CMdLessPpshView)
  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. };
  55.  
  56. #ifndef _DEBUG  // debug version in MdLessPpshView.cpp
  57. inline CMdLessPpshDoc* CMdLessPpshView::GetDocument()
  58.    { return (CMdLessPpshDoc*)m_pDocument; }
  59. #endif
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65.  
  66. #endif // !defined(AFX_MDLESSPPSHVIEW_H__D1BCD704_F032_11D1_A7E2_E88B6FC70000__INCLUDED_)
  67.