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

📄 interruptappdlg.h

📁 2410下面的外部中断的测试程序 此代码包含驱动和应用程序
💻 H
字号:
// InterruptAppDlg.h : header file
//

#if !defined(AFX_INTERRUPTAPPDLG_H__3E9E777A_7973_4BEA_970E_F4F8CE88EA6E__INCLUDED_)
#define AFX_INTERRUPTAPPDLG_H__3E9E777A_7973_4BEA_970E_F4F8CE88EA6E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "InterruptIO.h"
/////////////////////////////////////////////////////////////////////////////
// CInterruptAppDlg dialog
#include "ButtonBT.h"
class CInterruptAppDlg : public CDialog
{
// Construction
public:
	CInterruptAppDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CInterruptAppDlg)
	enum { IDD = IDD_INTERRUPTAPP_DIALOG };
	CButtonBT	m_exit;
	CButtonBT	m_reset;
	CString	m_time;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CInterruptAppDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnIntBtnReset();
	afx_msg void OnIntBtnExit();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void InitFont();
	void InitButton();
	static void OnIOread(CWnd *pWnd,WORD *p);
	InterruptIO inter;
	unsigned int number;


	HBRUSH m_Masterbrush;
	CFont m_nTitleFont;
	CFont m_nViceTitleFont;
};

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

#endif // !defined(AFX_INTERRUPTAPPDLG_H__3E9E777A_7973_4BEA_970E_F4F8CE88EA6E__INCLUDED_)

⌨️ 快捷键说明

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