interruptappdlg.h

来自「2410下面的外部中断的测试程序 此代码包含驱动和应用程序」· C头文件 代码 · 共 63 行

H
63
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?