#if !defined(AFX_OPEXECCERSPTESTTDSCROLLVIEW_H__D5061F2C_1770_4FCE_B7D7_736054FA116D__INCLUDED_) #define AFX_OPEXECCERSPTESTTDSCROLLVIEW_H__D5061F2C_1770_4FCE_B7D7_736054FA116D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // OpExecCERSPTestTdScrollView.h : header file // ///////////////////////////////////////////////////////////////////////////// // COpExecCERSPTestTdScrollView view class CTdChannel; class COpExecCERSPTestTdScrollView : public CScrollView { protected: COpExecCERSPTestTdScrollView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(COpExecCERSPTestTdScrollView) // Attributes public: CTdChannel* m_pTdChannel; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(COpExecCERSPTestTdScrollView) public: virtual void OnInitialUpdate(); // first time after construct protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view //}}AFX_VIRTUAL // Implementation protected: virtual ~COpExecCERSPTestTdScrollView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions //{{AFX_MSG(COpExecCERSPTestTdScrollView) //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CRect DrawPoint(int iX, int iY, CDC* const pDC, COLORREF crColor); void DrawLY(CDC* const pDC); void DrawEX(CDC* const pDC); int CoordinateMapping(float fValue, float fMappingRange, int MappingFactor); int m_iCXOffset; int m_iCYOffset; float m_fMaxCX; float m_fMaxCY; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_OPEXECCERSPTESTTDSCROLLVIEW_H__D5061F2C_1770_4FCE_B7D7_736054FA116D__INCLUDED_)