home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / hierwiz / template / textview.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  2KB  |  55 lines

  1. // TextView.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CTextView view
  15.  
  16. class CTextView : public CEditView
  17. {
  18. protected:
  19.     CTextView();           // protected constructor used by dynamic creation
  20.     DECLARE_DYNCREATE(CTextView)
  21.  
  22. // Attributes
  23. public:
  24.  
  25. // Operations
  26. public:
  27. void CTextView::RedrawText() ;
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function override  public:
  31.     //{{AFX_VIRTUAL(CTextView)
  32.     virtual void OnInitialUpdate();
  33.     protected:
  34.     virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  35.     virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.     virtual ~CTextView();
  41. #ifdef _DEBUG
  42.     virtual void AssertValid() const;
  43.     virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45.  
  46.     // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(CTextView)
  49.         // NOTE - the ClassWizard will add and remove member functions here.
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.