📄 control1.h
字号:
#if !defined(AFX_CONTROL_H__E0B6B1C0_EA7D_11D7_AC07_444553540000__INCLUDED_)
#define AFX_CONTROL_H__E0B6B1C0_EA7D_11D7_AC07_444553540000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// control.h : header file
//
#include "DisplayDoc.h"
/////////////////////////////////////////////////////////////////////////////
// control dialog
class control : public CDialog
{
// Construction
public:
control(CWnd* pParent = NULL); // standard constructor
CDisplayDoc *m_pDocument;
bool control::bOpenDriver (HANDLE * phDeviceHandle, PCHAR devname);
HANDLE phand;
// Dialog Data
//{{AFX_DATA(control)
enum { IDD = IDD_DIALOG1 };
CButton m_down;
CButton m_up;
int m_work_m;
int m_work_s;
int m_work_up;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(control)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(control)
afx_msg void OnStop();
virtual void OnOK();
afx_msg void OnDownR();
afx_msg void OnUpdown();
afx_msg void OnUpR();
virtual BOOL OnInitDialog();
afx_msg void OnM1R1();
afx_msg void OnM2R2();
afx_msg void OnM3R3();
afx_msg void OnButton1();
afx_msg void OnButton2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONTROL_H__E0B6B1C0_EA7D_11D7_AC07_444553540000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -