home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
SOFTWARE
/
LIBS
/
ISDKC122.ZIP
/
ISDKDVW.CPP
(
.txt
)
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-17
|
2KB
|
73 lines
// isdkdvw.cpp : implementation of the CIsdkdemoView class
//
#include "stdafx.h"
#include "isdkdemo.h"
#include "isdkddoc.h"
#include "isdkdvw.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CIsdkdemoView
IMPLEMENT_DYNCREATE(CIsdkdemoView, CView)
BEGIN_MESSAGE_MAP(CIsdkdemoView, CView)
//{{AFX_MSG_MAP(CIsdkdemoView)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CIsdkdemoView construction/destruction
CIsdkdemoView::CIsdkdemoView()
{
// TODO: add construction code here
}
CIsdkdemoView::~CIsdkdemoView()
{
}
/////////////////////////////////////////////////////////////////////////////
// CIsdkdemoView drawing
void CIsdkdemoView::OnDraw(CDC* pDC)
{
CIsdkdemoDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CIsdkdemoView diagnostics
#ifdef _DEBUG
void CIsdkdemoView::AssertValid() const
{
CView::AssertValid();
}
void CIsdkdemoView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CIsdkdemoDoc* CIsdkdemoView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CIsdkdemoDoc)));
return (CIsdkdemoDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CIsdkdemoView message handlers