// IrScopeWnd.h : header file // ///////////////////////////////////////////////////////////////////////////// // CIrScopeWnd window class CIrScopeWnd : public CWnd { // Construction public: int SetData(UINT uTimesCnt, int* piTimes,short int* counts=NULL); int CopyData(UINT uTimesCnt, int* piTimes,short int* counts=NULL); void SetText(CString& s) { m_TitleText=s; Invalidate(); }; int Create(HWND hwndParent); CIrScopeWnd(); // Attributes public: private: static CString m_sWndClass; CFont m_fontSmall; UINT m_uTimesCnt; int* m_piTimes; short int* m_counts; CString m_TitleText; UINT m_uPixelTime; BOOL m_bShowElapsedTime; BOOL m_bShowPulseTimes; BOOL m_bShowPulseCounts; // Operations public: static int RegisterWndClass(void); static int CloseAll(void); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CIrScopeWnd) //}}AFX_VIRTUAL // Implementation public: virtual ~CIrScopeWnd(); // Generated message map functions protected: //{{AFX_MSG(CIrScopeWnd) afx_msg void OnPaint(); afx_msg void OnDestroy(); afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; /////////////////////////////////////////////////////////////////////////////