leddlg.h
来自「xscale270开发平台的底层源代码」· C头文件 代码 · 共 66 行
H
66 行
// LEDDlg.h : header file
//
#if !defined(AFX_LEDDLG_H__C78909FC_E5A5_4633_9C79_5DEE024CD118__INCLUDED_)
#define AFX_LEDDLG_H__C78909FC_E5A5_4633_9C79_5DEE024CD118__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 };
CEdit m_ControlLed;
UINT m_LedValue;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLEDDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void SetLedValue(UINT indata);
int count;
unsigned char outdata;
BOOL SetMemoryMap();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLEDDlg)
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLightStart();
afx_msg void OnLightStop();
afx_msg void OnLightSet();
afx_msg void OnShift();
afx_msg void OnDestroy();
afx_msg void OnLedSet();
afx_msg void OnCountTime();
afx_msg void OnLedStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
UINT LedCount;
char setLightData;
CButton m_LeftShift;
CButton m_RightShift;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LEDDLG_H__C78909FC_E5A5_4633_9C79_5DEE024CD118__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?