home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / msmqocm.cab / testview.h < prev    next >
C/C++ Source or Header  |  1997-10-06  |  1KB  |  52 lines

  1. // testView.h : interface of the CTestView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CTestView : public CEditView
  6. {
  7. protected: // create from serialization only
  8.     CTestView();
  9.     DECLARE_DYNCREATE(CTestView)
  10.  
  11. // Attributes
  12. public:
  13.     CTestDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CTestView)
  21.     public:
  22.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  23.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24.     protected:
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CTestView();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:
  36.  
  37. // Generated message map functions
  38. protected:
  39.     //{{AFX_MSG(CTestView)
  40.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. #ifndef _DEBUG  // debug version in testView.cpp
  46. inline CTestDoc* CTestView::GetDocument()
  47.    { return (CTestDoc*)m_pDocument; }
  48. #endif
  49.  
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.