📄 mdt_aiptestdlg.h
字号:
// MDT_AIPTestDlg.h : header file
//
#if !defined(AFX_MDT_AIPTESTDLG_H__9DA3D45D_7010_4A51_A662_BC1EE1FE8194__INCLUDED_)
#define AFX_MDT_AIPTESTDLG_H__9DA3D45D_7010_4A51_A662_BC1EE1FE8194__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CMDT_AIPTestDlg dialog
#define TIMER_ADC 1
#define DELAY_ADC 1000
#define TIMER_LED 2
#define DELAY_LED 500
#define TIMER_DOUT 3
#define DELAY_DOUT 500
#define TIMER_DIN 4
#define DELAY_DIN 500
#define KEY_FN_1 186
#define KEY_FN_2 191
#define KEY_FN_3 192
#define KEY_FN_4 219
#define KEY_UP 38
#define KEY_DOWN 40
#define KEY_LEFT 37
#define KEY_RIGHT 39
#define KEY_ENTER 13
#define KEY_STANBY 220
#define KEY_MODE 222
#define KEY_MENU 221
class CMDT_AIPTestDlg : public CDialog
{
// Construction
public:
CMDT_AIPTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMDT_AIPTestDlg)
enum { IDD = IDD_MDT_AIPTEST_DIALOG };
CButton m_DInButton;
CButton m_DOutButton;
CButton m_LEDButton;
CButton m_ADCButton;
CListBox m_ListBox;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMDT_AIPTestDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMDT_AIPTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnAipButton();
afx_msg void OnVersionButton();
afx_msg void OnClose();
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnAdcButton();
afx_msg void OnLedButton();
afx_msg void OnDoutButton();
afx_msg void OnDinButton();
afx_msg void OnSelchangeList();
afx_msg void OnBacklight_UP();
afx_msg void OnBacklight_DOWN();
afx_msg void Onbacklight_active();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CSize m_LcdSize;
HANDLE m_hAIP;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MDT_AIPTESTDLG_H__9DA3D45D_7010_4A51_A662_BC1EE1FE8194__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -