home *** CD-ROM | disk | FTP | other *** search
- // BarsView.h : interface of the CBarsView class
- //
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INCLUDES()
- #include "rtbarx.h"
- //}}AFX_INCLUDES
-
- #if !defined(AFX_BARSVIEW_H__43E475EE_408C_11D1_AFD4_0040C79403A8__INCLUDED_)
- #define AFX_BARSVIEW_H__43E475EE_408C_11D1_AFD4_0040C79403A8__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
-
- class CBarsView : public CFormView
- {
- protected: // create from serialization only
- CBarsView();
- DECLARE_DYNCREATE(CBarsView)
-
- public:
- //{{AFX_DATA(CBarsView)
- enum { IDD = IDD_BARS_FORM };
- CRTBARX m_RTControl1;
- CRTBARX m_RTControl2;
- CRTBARX m_Bar1;
- CRTBARX m_Bar2;
- //}}AFX_DATA
-
- // Attributes
- public:
- CBarsDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBarsView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo*);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- void BuildGraph1();
- void BuildGraph2();
- virtual ~CBarsView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBarsView)
- afx_msg void OnInternalTimerRtbarxctrl1();
- afx_msg void OnInternalTimerRtbarxctrl2();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in BarsView.cpp
- inline CBarsDoc* CBarsView::GetDocument()
- { return (CBarsDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_BARSVIEW_H__43E475EE_408C_11D1_AFD4_0040C79403A8__INCLUDED_)
-