home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / dbeng / dbengvw.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-10  |  1.6 KB  |  75 lines

  1. // dbengvw.cpp : implementation of the CDbengView class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "dbeng.h"
  6.  
  7. #include "dbengdoc.h"
  8. #include "dbengvw.h"
  9.  
  10. #ifdef _DEBUG
  11. #undef THIS_FILE
  12. static char BASED_CODE THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CDbengView
  17.  
  18. IMPLEMENT_DYNCREATE(CDbengView, CView)
  19.  
  20. BEGIN_MESSAGE_MAP(CDbengView, CView)
  21.     //{{AFX_MSG_MAP(CDbengView)
  22.         // NOTE - the ClassWizard will add and remove mapping macros here.
  23.         //    DO NOT EDIT what you see in these blocks of generated code !
  24.     //}}AFX_MSG_MAP
  25. END_MESSAGE_MAP()
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CDbengView construction/destruction
  29.  
  30. CDbengView::CDbengView()
  31. {
  32.     // TODO: add construction code here
  33. }
  34.  
  35. CDbengView::~CDbengView()
  36. {
  37. }
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // CDbengView drawing
  41.  
  42. void CDbengView::OnDraw(CDC* pDC)
  43. {
  44.     CDbengDoc* pDoc = GetDocument();
  45.  
  46.     // TODO: add draw code here
  47. }
  48.  
  49.  
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52. // CDbengView diagnostics
  53.  
  54. #ifdef _DEBUG
  55. void CDbengView::AssertValid() const
  56. {
  57.     CView::AssertValid();
  58. }
  59.  
  60. void CDbengView::Dump(CDumpContext& dc) const
  61. {
  62.     CView::Dump(dc);
  63. }
  64.  
  65. CDbengDoc* CDbengView::GetDocument() // non-debug version is inline
  66. {
  67.     ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CDbengDoc)));
  68.     return (CDbengDoc*) m_pDocument;
  69. }
  70.  
  71. #endif //_DEBUG
  72.  
  73. /////////////////////////////////////////////////////////////////////////////
  74. // CDbengView message handlers
  75.