home *** CD-ROM | disk | FTP | other *** search
/ Using Visual Basic 5 (Platinum Edition) / vb5.iso / ACTIVEX / SRDVID / DATA.1 / svview.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-10  |  1.8 KB  |  74 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // svview.cpp : Implementation of the CSVViewerView class
  4. //
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. //  (C) Copyright Black Diamond Consulting, Inc 1996. All rights reserved.
  8. //
  9. //    You have a royalty-free right to use, modify, reproduce and 
  10. //    distribute the Sample Files (and/or any modified version) in 
  11. //    any way you find useful, provided that you agree that Black 
  12. //    Diamond Consulting has no warranty obligations or liability
  13. //    for any Sample Application Files which are modified. 
  14. //
  15. //    Revision History:
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18.  
  19. #include "stdafx.h"
  20.  
  21. #ifndef _Surround_H_
  22.     #include "Surround.h"
  23. #endif
  24.  
  25. #ifndef __CSURVIEW_H__
  26.     #include "CSurView.h"
  27. #endif
  28.  
  29. #ifndef __SVVIEW_H__
  30.     #include "SVView.h"
  31. #endif
  32.  
  33. #ifndef __svDoc_H__
  34.     #include "svDoc.h"
  35. #endif
  36.  
  37. #ifdef _DEBUG
  38.     #undef THIS_FILE
  39.     static char BASED_CODE THIS_FILE[] = __FILE__;
  40. #endif
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CSVViewerView
  44.  
  45. IMPLEMENT_DYNCREATE(CSVViewerView, CSurroundView)
  46.  
  47. BEGIN_MESSAGE_MAP(CSVViewerView, CSurroundView)
  48.     //{{AFX_MSG_MAP(CSVViewerView)
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CSVViewerView construction/destruction
  54.  
  55. CSVViewerView::CSVViewerView()
  56. {
  57. }
  58.  
  59. CSVViewerView::~CSVViewerView()
  60. {
  61. }
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64. // CSVViewerView drawing
  65. void CSVViewerView::OnDraw(CDC* pDC)
  66. {
  67.     CSurroundView::OnDraw(pDC);
  68. }
  69.  
  70. ISurround* CSVViewerView::GetISurround()
  71. {
  72.     return ((CSVViewerDoc*)this->GetDocument())->GetISurround(); 
  73. }
  74.