📄 simulatorspeed.h
字号:
#if !defined(AFX_SIMULATORSPEED_H__15C5B55A_0402_4386_98A1_100BEB6A927F__INCLUDED_)
#define AFX_SIMULATORSPEED_H__15C5B55A_0402_4386_98A1_100BEB6A927F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SimulatorSpeed.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSimulatorSpeed dialog
class CSimulatorSpeed : public CDialog
{
// Construction
public:
int GetSpeed();
CSimulatorSpeed(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSimulatorSpeed)
enum { IDD = IDD_SIMULATOR_SPEED };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSimulatorSpeed)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
enum{SPEED1,SPPED2,SPPED3,SPEED4,SPEED5,SPEED6,SPEED7,SPEED8};
//radio button control
private:
int m_iSimulatorSpeed;
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSimulatorSpeed)
virtual BOOL OnInitDialog();
afx_msg void OnSpeed1();
afx_msg void OnSpped2();
afx_msg void OnSpped3();
afx_msg void OnSpeed4();
afx_msg void OnSpeed5();
afx_msg void OnSpeed6();
afx_msg void OnSpeed7();
afx_msg void OnSpeed8();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SIMULATORSPEED_H__15C5B55A_0402_4386_98A1_100BEB6A927F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -