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

📄 recordcurse.h

📁 采集电压 用研华6220板卡采集电压值 实时显示 电压变化
💻 H
字号:
#if !defined(AFX_RECORDCURSE_H__9F42D2A9_E121_4C20_9C69_C3E2219655CF__INCLUDED_)
#define AFX_RECORDCURSE_H__9F42D2A9_E121_4C20_9C69_C3E2219655CF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// RecordCurse dialog

class RecordCurse : public CDialog
{
// Construction
public:
	void DrawGrid(CDC *pDC);
	RecordCurse(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(RecordCurse)
	enum { IDD = IDD_DIALOG_RECORD };
	CSliderCtrl	m_horscro;
	CStatic	m_Canvas;
	//}}AFX_DATA
	private:
	BOOL iscontinue;


	CString xfname;
	double start_pos;//绘图起点
	BOOL havedata;
	double end_time;//绘图重点时间
	int old_point;	//进度条起点位置
	int all_pos;//进度条总点数

	int draw_size_t;
	ASKDRAWMODE mydraw;

	SAMPLEPARAM mypoint;
	SAMPLEPARAM mystartpoint;


	void DisplayData(void);//显示数据
	BOOL GetData(double now_pos);
	void SetDrawItem(void);
	void InitDrawItem(void);
	

	CRect WRect;
	int startx;
	int zero;
	int draw_size_x;
	int draw_size_y;



// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(RecordCurse)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(RecordCurse)
	afx_msg void OnSelectRecord();
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_RECORDCURSE_H__9F42D2A9_E121_4C20_9C69_C3E2219655CF__INCLUDED_)

⌨️ 快捷键说明

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