2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
9 // HelpEdView.cpp : implementation of the CHelpEdView class
15 #include "helpeddoc.h"
16 #include "helpedview.h"
21 static char THIS_FILE[] = __FILE__;
24 /////////////////////////////////////////////////////////////////////////////
27 IMPLEMENT_DYNCREATE(CHelpEdView, CView)
29 BEGIN_MESSAGE_MAP(CHelpEdView, CView)
30 //{{AFX_MSG_MAP(CHelpEdView)
31 // NOTE - the ClassWizard will add and remove mapping macros here.
32 // DO NOT EDIT what you see in these blocks of generated code!
36 /////////////////////////////////////////////////////////////////////////////
37 // CHelpEdView construction/destruction
39 CHelpEdView::CHelpEdView()
41 // TODO: add construction code here
45 CHelpEdView::~CHelpEdView()
49 BOOL CHelpEdView::PreCreateWindow(CREATESTRUCT& cs)
51 // TODO: Modify the Window class or styles here by modifying
52 // the CREATESTRUCT cs
54 return CView::PreCreateWindow(cs);
57 /////////////////////////////////////////////////////////////////////////////
58 // CHelpEdView drawing
60 void CHelpEdView::OnDraw(CDC* pDC)
63 CHelpEdDoc* pDoc = GetDocument();
65 // TODO: add draw code for native data here
68 /////////////////////////////////////////////////////////////////////////////
69 // CHelpEdView diagnostics
72 void CHelpEdView::AssertValid() const
77 void CHelpEdView::Dump(CDumpContext& dc) const
82 CHelpEdDoc* CHelpEdView::GetDocument() // non-debug version is inline
84 ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CHelpEdDoc)));
85 return (CHelpEdDoc*)m_pDocument;
89 /////////////////////////////////////////////////////////////////////////////
90 // CHelpEdView message handlers
92 void CHelpEdView::OnLButtonDown(UINT nFlags, CPoint point)
94 // Capture the mouse, so no other application can
95 // grab it if the mouse leaves the window area
100 // pass mouse event up the chain
101 CView::OnLButtonDown(nFlags, point);
105 //DEL void CHelpEdView::blah()