home *** CD-ROM | disk | FTP | other *** search
- // ole_vvw.cpp : implementation of the COle_vbxView class
- //
-
- #include "stdafx.h"
- #include "ole_vbx.h"
-
- #include "ole_vdoc.h"
- #include "ole_vvw.h"
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // COle_vbxView
-
- IMPLEMENT_DYNCREATE(COle_vbxView, CView)
-
- BEGIN_MESSAGE_MAP(COle_vbxView, CView)
- //{{AFX_MSG_MAP(COle_vbxView)
- // 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()
-
- /////////////////////////////////////////////////////////////////////////////
- // COle_vbxView construction/destruction
-
- COle_vbxView::COle_vbxView()
- {
- // TODO: add construction code here
- }
-
- COle_vbxView::~COle_vbxView()
- {
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // COle_vbxView drawing
-
- void COle_vbxView::OnDraw(CDC* pDC)
- {
- COle_vbxDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
-
- // TODO: add draw code for native data here
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // COle_vbxView diagnostics
-
- #ifdef _DEBUG
- void COle_vbxView::AssertValid() const
- {
- CView::AssertValid();
- }
-
- void COle_vbxView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
-
- COle_vbxDoc* COle_vbxView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(COle_vbxDoc)));
- return (COle_vbxDoc*)m_pDocument;
- }
- #endif //_DEBUG
-
- /////////////////////////////////////////////////////////////////////////////
- // COle_vbxView message handlers
-