1 // HelpEdView.cpp : implementation of the CHelpEdView class
8 #include "helpedview.h"
13 static char THIS_FILE[] = __FILE__;
16 /////////////////////////////////////////////////////////////////////////////
19 IMPLEMENT_DYNCREATE(CHelpEdView, CView)
21 BEGIN_MESSAGE_MAP(CHelpEdView, CView)
22 //{{AFX_MSG_MAP(CHelpEdView)
23 // NOTE - the ClassWizard will add and remove mapping macros here.
24 // DO NOT EDIT what you see in these blocks of generated code!
28 /////////////////////////////////////////////////////////////////////////////
29 // CHelpEdView construction/destruction
31 CHelpEdView::CHelpEdView()
33 // TODO: add construction code here
37 CHelpEdView::~CHelpEdView()
41 BOOL CHelpEdView::PreCreateWindow(CREATESTRUCT& cs)
43 // TODO: Modify the Window class or styles here by modifying
44 // the CREATESTRUCT cs
46 return CView::PreCreateWindow(cs);
49 /////////////////////////////////////////////////////////////////////////////
50 // CHelpEdView drawing
52 void CHelpEdView::OnDraw(CDC* pDC)
55 CHelpEdDoc* pDoc = GetDocument();
57 // TODO: add draw code for native data here
60 /////////////////////////////////////////////////////////////////////////////
61 // CHelpEdView diagnostics
64 void CHelpEdView::AssertValid() const
69 void CHelpEdView::Dump(CDumpContext& dc) const
74 CHelpEdDoc* CHelpEdView::GetDocument() // non-debug version is inline
76 ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CHelpEdDoc)));
77 return (CHelpEdDoc*)m_pDocument;
81 /////////////////////////////////////////////////////////////////////////////
82 // CHelpEdView message handlers
84 void CHelpEdView::OnLButtonDown(UINT nFlags, CPoint point)
86 // Capture the mouse, so no other application can
87 // grab it if the mouse leaves the window area
92 // pass mouse event up the chain
93 CView::OnLButtonDown(nFlags, point);
97 //DEL void CHelpEdView::blah()