home *** CD-ROM | disk | FTP | other *** search
- // EchoView.h : interface of the CEchoView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CEchoView : public CView
- {
- private:
- POINT m_CaretPos;
- int m_XCaret, m_YCaret;
-
- protected: // create from serialization only
- CEchoView();
- DECLARE_DYNCREATE(CEchoView)
-
- // Attributes
- public:
- CEchoDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEchoView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CEchoView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEchoView)
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnEditClear();
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnKillFocus(CWnd* pNewWnd);
- afx_msg void OnSetFocus(CWnd* pOldWnd);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in EchoView.cpp
- inline CEchoDoc* CEchoView::GetDocument()
- { return (CEchoDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-