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

📄 histdigitview.h

📁 AD 数据采集卡基本的采集界面
💻 H
字号:
#if !defined(AFX_HistDigitView_H__D442B983_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)
#define AFX_HistDigitView_H__D442B983_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHistDigitView view

class CHistDigitView : public CListView
{
protected:
	CHistDigitView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CHistDigitView)

// Attributes
public:
	//CHistDataDoc* GetDocument();
    void SetListView(void);
	DOUBLE m_PerLsbVolt;
	char str[100];
	int nChooseMode;//1、十进制显示 2、十六进制显示 3、电压显示

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHistDigitView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CHistDigitView();

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	//{{AFX_MSG(CHistDigitView)
	afx_msg void OnSixteenShow();
	afx_msg void OnUpdateSixteenShow(CCmdUI* pCmdUI);
	afx_msg void OnDigitalVoltShowMode();
	afx_msg void OnUpdateDigitalVoltShowMode(CCmdUI* pCmdUI);
	afx_msg void OnTenShow();
	afx_msg void OnUpdateTenShow(CCmdUI* pCmdUI);
	afx_msg void OnRefurbish();
	afx_msg void OnUpdateRefurbish(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
/*
#ifndef _DEBUG  // debug version in ShowDigitView.cpp
inline CHistDataDoc* CHistDigitView::GetDocument()
   { return (CHistDataDoc*)m_pDocument; }
#endif*/
/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_HistDigitView_H__D442B983_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)

⌨️ 快捷键说明

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