testat24c08dlg.h

来自「自己写的测试AT24C08的程序」· C头文件 代码 · 共 56 行

H
56
字号
// TESTAT24C08Dlg.h : header file
//

#if !defined(AFX_TESTAT24C08DLG_H__B6BE4962_D75F_44C6_A59B_6DC104F5EE5F__INCLUDED_)
#define AFX_TESTAT24C08DLG_H__B6BE4962_D75F_44C6_A59B_6DC104F5EE5F__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTESTAT24C08Dlg dialog

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

// Dialog Data
	//{{AFX_DATA(CTESTAT24C08Dlg)
	enum { IDD = IDD_TESTAT24C08_DIALOG };
	CStatic	m_Stread;
	CString	m_editWrite;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HANDLE m_I2cHandle;
	HICON m_hIcon;
	int  m_lenth;


	// Generated message map functions
	//{{AFX_MSG(CTESTAT24C08Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonWrite();
	afx_msg void OnButtonRead();
	afx_msg void OnButtonOpen();
	afx_msg void OnButtonClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTAT24C08DLG_H__B6BE4962_D75F_44C6_A59B_6DC104F5EE5F__INCLUDED_)

⌨️ 快捷键说明

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