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

📄 optkeytestdlg.h

📁 键盘测试,数据系统操作键盘测试, 键盘测试,数据系统操作键盘测试,
💻 H
字号:
// OptKeyTestDlg.h : header file
//

#if !defined(AFX_OPTKEYTESTDLG_H__71898431_E1C1_426D_B692_81A1D1C5544D__INCLUDED_)
#define AFX_OPTKEYTESTDLG_H__71898431_E1C1_426D_B692_81A1D1C5544D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Crc.h"

/////////////////////////////////////////////////////////////////////////////
// COptKeyTestDlg dialog

class COptKeyTestDlg : public CDialog
{
// Construction
public:
	COptKeyTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(COptKeyTestDlg)
	enum { IDD = IDD_OPTKEYTEST_DIALOG };
	CButton	m_CAuto;
	CEdit	m_CBaund3;
	CEdit	m_CBaund2;
	CEdit	m_CBaund;
	CEdit	m_CPress;
	CEdit	m_CScan;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COptKeyTestDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(COptKeyTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnAllOpen();
	afx_msg void OnAllClose();
	afx_msg void OnAllInv();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnAuto();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	afx_msg LRESULT OnSend(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT OnRec(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT OnLed( WPARAM wParam, LPARAM lParam );

	DECLARE_MESSAGE_MAP()

private:
	unsigned char cRxdBuf[256];
	unsigned char cRxdCount;
	unsigned char cLedDat[10];
	unsigned char cTxdBuf[256];

	CCrc8 crc;
	CToolTipCtrl tooltip;

};

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

#endif // !defined(AFX_OPTKEYTESTDLG_H__71898431_E1C1_426D_B692_81A1D1C5544D__INCLUDED_)

⌨️ 快捷键说明

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