home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / tstcon / outwndvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.6 KB  |  62 lines

  1. #if !defined(AFX_OUTPUTWINDOWVIEW_H__5808BFDF_5166_11D1_8E54_00C04FB68D60__INCLUDED_)
  2. #define AFX_OUTPUTWINDOWVIEW_H__5808BFDF_5166_11D1_8E54_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // OutputWindowView.H : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // COutputWindowView view
  12.  
  13. class COutputWindowView : public CEditView
  14. {
  15. protected:
  16.     COutputWindowView();           // protected constructor used by dynamic creation
  17.     DECLARE_DYNCREATE(COutputWindowView)
  18.  
  19. // Attributes
  20. public:
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(COutputWindowView)
  28.     protected:
  29.     virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. protected:
  34.     virtual ~COutputWindowView();
  35. #ifdef _DEBUG
  36.     virtual void AssertValid() const;
  37.     virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39.  
  40. protected:
  41.    CFont m_font;
  42.  
  43.     // Generated message map functions
  44. protected:
  45.     //{{AFX_MSG(COutputWindowView)
  46.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  47.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  48.     //}}AFX_MSG
  49.  
  50.    afx_msg void OnClear();
  51.    afx_msg void OnCopy();
  52.  
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.  
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60.  
  61. #endif // !defined(AFX_OUTPUTWINDOWVIEW_H__5808BFDF_5166_11D1_8E54_00C04FB68D60__INCLUDED_)
  62.