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

📄 leddlg.h

📁 一个wince下的LED控制 windows embedded visual c
💻 H
字号:
// LEDDlg.h : header file
//

#if !defined(AFX_LEDDLG_H__DC050965_94ED_40CF_A6CF_FCB0A05EFD63__INCLUDED_)
#define AFX_LEDDLG_H__DC050965_94ED_40CF_A6CF_FCB0A05EFD63__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLEDDlg dialog

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


	// Dialog Data
	//{{AFX_DATA(CLEDDlg)
	enum { IDD = IDD_LED_DIALOG };
	//}}AFX_DATA

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

// Implementation
protected:
	static DWORD LedThread(PVOID arg);
	HICON m_hIcon;
 	BOOL LedThread1;


	HANDLE hThreadLed;
	int LedStaly;
	// Generated message map functions
	//{{AFX_MSG(CLEDDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnOpenPio1();
	afx_msg void OnClosePio1();
	afx_msg void OnLed1On();
	afx_msg void OnLed1Off();
	afx_msg void OnLed2On();
	afx_msg void OnLed3On();
	afx_msg void OnLed4On();
	afx_msg void OnLed2Off();
	afx_msg void OnLed3Off();
	afx_msg void OnLed4Off();
	afx_msg void OnDestroy();
	afx_msg void OnButtonLed1();
	afx_msg void OnButtonLed2();
	afx_msg void OnStop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	DWORD LedThread();
};

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

#endif // !defined(AFX_LEDDLG_H__DC050965_94ED_40CF_A6CF_FCB0A05EFD63__INCLUDED_)

⌨️ 快捷键说明

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