home *** CD-ROM | disk | FTP | other *** search
- // speedvw.h : interface of the CSpeedView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- // Because the declaration of the CSpeedView class
- // contains the creation of the dlg object of type
- // CMyDlg, the MyDlg.h file must be #included.
- #include "MyDlg.h"
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
-
-
-
- class CSpeedView : public CView
- {
- protected: // create from serialization only
- CSpeedView();
- DECLARE_DYNCREATE(CSpeedView)
-
- // Attributes
- public:
- CSpeedDoc* GetDocument();
-
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- // Create a dialog box object of class CMyDlg
- CMyDlg dlg;
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CSpeedView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSpeedView)
- afx_msg void OnFileTryit();
- afx_msg void OnFileCurrentspeed();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in speedvw.cpp
- inline CSpeedDoc* CSpeedView::GetDocument()
- { return (CSpeedDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-