home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / collect / collevw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.4 KB  |  60 lines

  1. // collevw.h : interface of the CCollectView class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 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 related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. class CCollectView : public CView
  14. {
  15. protected: // create from serialization only
  16.     CCollectView();
  17.     DECLARE_DYNCREATE(CCollectView)
  18.  
  19. // Attributes
  20. public:
  21.     CCollectDoc* GetDocument();
  22.  
  23. protected:
  24.     CStringList m_stringList;
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generate virtual function overrides
  31.     //{{AFX_VIRTUAL(CCollectView)
  32.     public:
  33.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  34.     protected:
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CCollectView();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CCollectView)
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. #ifndef _DEBUG  // debug version in collevw.cpp
  55. inline CCollectDoc* CCollectView::GetDocument()
  56.    { return (CCollectDoc*)m_pDocument; }
  57. #endif
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.