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

📄 lftview.h

📁 一个很好的虚拟示波器!可一直接运行!他通过串口采集信号与系统单片机上的数据
💻 H
字号:
#if !defined(AFX_LFTVIEW_H__006C5970_F8F2_46D8_84C2_6CCF88AB570B__INCLUDED_)
#define AFX_LFTVIEW_H__006C5970_F8F2_46D8_84C2_6CCF88AB570B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LftView.h : header file
//
#include "SXBtn.h"
#include "TestBtn.h"
#include "Resource.h"
#include "MainFrm.h"
/////////////////////////////////////////////////////////////////////////////
// CLftView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CLftView : public CFormView
{
protected:
	int Str2Hex(CString str, char *data);
	char HexChar(char c);
	
	
public:
	CLftView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CLftView)

// Form Data
public:
	//{{AFX_DATA(CLftView)
	enum { IDD = IDD_FORMVIEW_LFT };
	CString	m_strVoleteEdit1;
	CString	m_strVoleteEdit2;
	CString	m_strAverageCH1;
	CString	m_strAverageCH2;
	CString	m_strMode;
	CString	m_SampleSpeed;
	//}}AFX_DATA

// Attributes
public:
	BOOL m_bstart;
	CBrush *pBrush;
	CBrush m_brBkgnd;
	CBrush m_brBkgnd1;
	CButton m_btntopbar;
	CButton m_btnbtmbar;

	CBitmap m_bitmaptop;
	CBitmap m_bitmapbtm;
// Operations
public:

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

// Implementation
protected:
	public:
	virtual ~CLftView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CLftView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnShowMessage();               //////////////////////////
	afx_msg void OnButton1();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_LFTVIEW_H__006C5970_F8F2_46D8_84C2_6CCF88AB570B__INCLUDED_)

⌨️ 快捷键说明

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