home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / COLORFOR.ZIP / MyFormView / MyFormViewView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-26  |  2.1 KB  |  77 lines

  1. // MyFormViewView.h : interface of the CMyFormViewView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MYFORMVIEWVIEW_H__F9BB0CCC_3D20_11D2_BC46_0060970A2B51__INCLUDED_)
  6. #define AFX_MYFORMVIEWVIEW_H__F9BB0CCC_3D20_11D2_BC46_0060970A2B51__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #include "ColorFormView.h"
  13.  
  14. class CMyFormViewView : public CColorFormView
  15. {
  16. protected: // create from serialization only
  17.     CMyFormViewView();
  18.     DECLARE_DYNCREATE(CMyFormViewView)
  19.  
  20. public:
  21.     //{{AFX_DATA(CMyFormViewView)
  22.     enum{ IDD = IDD_MYFORMVIEW_FORM };
  23.         // NOTE: the ClassWizard will add data members here
  24.     //}}AFX_DATA
  25.  
  26. // Attributes
  27. public:
  28.     CMyFormViewDoc* GetDocument();
  29.  
  30. // Operations
  31. public:
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CMyFormViewView)
  36.     public:
  37.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  38.     virtual void OnInitialUpdate();
  39.     protected:
  40.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  41.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  42.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  43.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  44.     virtual void OnPrint(CDC* pDC, CPrintInfo*);
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. public:
  49.     virtual ~CMyFormViewView();
  50. #ifdef _DEBUG
  51.     virtual void AssertValid() const;
  52.     virtual void Dump(CDumpContext& dc) const;
  53. #endif
  54.  
  55. protected:
  56.  
  57. // Generated message map functions
  58. protected:
  59.     //{{AFX_MSG(CMyFormViewView)
  60.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  61.     afx_msg void OnChangeBkColor();
  62.     //}}AFX_MSG
  63.     DECLARE_MESSAGE_MAP()
  64. };
  65.  
  66. #ifndef _DEBUG  // debug version in MyFormViewView.cpp
  67. inline CMyFormViewDoc* CMyFormViewView::GetDocument()
  68.    { return (CMyFormViewDoc*)m_pDocument; }
  69. #endif
  70.  
  71. /////////////////////////////////////////////////////////////////////////////
  72.  
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  75.  
  76. #endif // !defined(AFX_MYFORMVIEWVIEW_H__F9BB0CCC_3D20_11D2_BC46_0060970A2B51__INCLUDED_)
  77.