home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / DYNASPLI.ZIP / DSplitView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-03  |  1.8 KB  |  66 lines

  1. // DSplitView.h : interface of the CDSplitView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_DSPLITVIEW_H__76E949CF_9CAD_11D1_907F_00A024782894__INCLUDED_)
  6. #define AFX_DSPLITVIEW_H__76E949CF_9CAD_11D1_907F_00A024782894__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CDSplitView : public CView
  13. {
  14. protected: // create from serialization only
  15.     CDSplitView();
  16.     DECLARE_DYNCREATE(CDSplitView)
  17.  
  18. // Attributes
  19. public:
  20.     CDSplitDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CDSplitView)
  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 ~CDSplitView();
  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(CDSplitView)
  50.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. #ifndef _DEBUG  // debug version in DSplitView.cpp
  56. inline CDSplitDoc* CDSplitView::GetDocument()
  57.    { return (CDSplitDoc*)m_pDocument; }
  58. #endif
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61.  
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64.  
  65. #endif // !defined(AFX_DSPLITVIEW_H__76E949CF_9CAD_11D1_907F_00A024782894__INCLUDED_)
  66.