// myscribbleView.h : interface of the CMyscribbleView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYSCRIBBLEVIEW_H__DD45205C_1794_47F5_B860_0DC2BB626277__INCLUDED_)
#define AFX_MYSCRIBBLEVIEW_H__DD45205C_1794_47F5_B860_0DC2BB626277__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMyscribbleView : public CView
{
protected: // create from serialization only
	CMyscribbleView();
	DECLARE_DYNCREATE(CMyscribbleView)

// Attributes
public:
	CMyscribbleDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyscribbleView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	CPoint endpt;
	CPoint startpt;
	virtual ~CMyscribbleView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyscribbleView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in myscribbleView.cpp
inline CMyscribbleDoc* CMyscribbleView::GetDocument()
   { return (CMyscribbleDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYSCRIBBLEVIEW_H__DD45205C_1794_47F5_B860_0DC2BB626277__INCLUDED_)

