#if !defined(AFX_OPEXECCERSPTESTTDVIEW_H__9D1B8ADC_7FBC_4163_92B3_8B19304449FB__INCLUDED_) #define AFX_OPEXECCERSPTESTTDVIEW_H__9D1B8ADC_7FBC_4163_92B3_8B19304449FB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // opexeccersptesttdview.h : header file // ///////////////////////////////////////////////////////////////////////////// // COpExecCERSPTestTdView view class CTdChannel; class COpExecCERSPTestTdView : public CView { protected: COpExecCERSPTestTdView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(COpExecCERSPTestTdView) // Attributes public: CTdChannel* m_pTdChannel; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(COpExecCERSPTestTdView) public: virtual void OnInitialUpdate(); virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation protected: virtual ~COpExecCERSPTestTdView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(COpExecCERSPTestTdView) afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message); afx_msg void OnCancelMode(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CRect DrawPoint(int iX, int iY, CDC* const pDC, COLORREF crColor = RGB(0x00, 0x00, 0x00)); void DrawEX(CDC* const pDC); void DrawLY(CDC* const pDC); int CoordinateMapping(float fValue, float fMappingRange, int MappingFactor); int m_iCXOffset; int m_iCYOffset; float m_fMaxCX; float m_fMaxCY; //滚动条 CScrollBar m_scroll; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_OPEXECCERSPTESTTDVIEW_H__9D1B8ADC_7FBC_4163_92B3_8B19304449FB__INCLUDED_)