⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eyegraphwnd.h

📁 USB HID 设备数据采集程序 HID外设使用的MC68HC908JB8ADW单片机
💻 H
字号:
#if !defined(AFX_EYEGRAPHWND_H__EED98717_8341_475F_A500_3FFD604D3AD3__INCLUDED_)
#define AFX_EYEGRAPHWND_H__EED98717_8341_475F_A500_3FFD604D3AD3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EyeGraphWnd.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// EyeGraphWnd window

class EyeGraphWnd : public CStatic
{
// Construction
public:
	EyeGraphWnd();

// Attributes
public:
// CScrollBar m_scrollbar_right;
 CScrollBar m_scrollbar_bottom;
// Operations
public:
 CRect sel_rect;
 BOOL isZoom;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(EyeGraphWnd)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	int isTime_zoom_in;
	int m_second_zoom_in;
	int isTime_zoom;
	BOOL m_play_button_down;
	int m_second_zoom;
	BOOL isRectangleSel;
	HCURSOR m_hCursor_Zoom,m_hCursor_RectangleSel;
//	CPoint m_dltOrigin;
//	CPoint m_dltFinal;
	void DrawEyeGraph();
	BOOL AddOneData(WORD ch1, WORD ch2,WORD ch3);
	void DrawLine(CDC *pDC, CRect *rect,int y_site);
	void DrawGraph(CDC *pDC, CRect *rect);
	virtual ~EyeGraphWnd();

	// Generated message map functions
protected:
	void DrawDispBar(CDC *pDC);
	//{{AFX_MSG(EyeGraphWnd)
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	BOOL m_msflags;
	CPoint m_dltFinal;
    CPoint m_dltOrigin;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EYEGRAPHWND_H__EED98717_8341_475F_A500_3FFD604D3AD3__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -