home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / ttips2 / tooltvw.h < prev   
Encoding:
C/C++ Source or Header  |  1994-06-12  |  1.2 KB  |  48 lines

  1. // tooltvw.h : interface of the CTooltestView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CTooltestView : public CView
  6. {
  7. protected: // create from serialization only
  8.     CTooltestView();
  9.     DECLARE_DYNCREATE(CTooltestView)
  10.  
  11. // Attributes
  12. public:
  13.     CTooltestDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Implementation
  19. public:
  20.     virtual ~CTooltestView();
  21.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  22. #ifdef _DEBUG
  23.     virtual void AssertValid() const;
  24.     virtual void Dump(CDumpContext& dc) const;
  25. #endif
  26.  
  27. protected:
  28.  
  29.     // Printing support
  30.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  31.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  32.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  33.     virtual void OnInitialUpdate();
  34.  
  35. // Generated message map functions
  36. protected:
  37.     //{{AFX_MSG(CTooltestView)
  38.     //}}AFX_MSG
  39.     DECLARE_MESSAGE_MAP()
  40. };
  41.  
  42. #ifndef _DEBUG  // debug version in tooltvw.cpp
  43. inline CTooltestDoc* CTooltestView::GetDocument()
  44.    { return (CTooltestDoc*)m_pDocument; }
  45. #endif
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.