📄 multi_timerdlg.h
字号:
// Multi_TimerDlg.h : header file
//
#if !defined(AFX_MULTI_TIMERDLG_H__38BA0A82_4E03_461F_B4AE_1A4E616BC76A__INCLUDED_)
#define AFX_MULTI_TIMERDLG_H__38BA0A82_4E03_461F_B4AE_1A4E616BC76A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_UPDATETIME1 WM_USER+1000
#define WM_UPDATETIME2 WM_USER+1001
#define WM_UPDATETIME3 WM_USER+1002
#define WM_UPDATETIME4 WM_USER+1003
#define WM_UPDATETIME5 WM_USER+1004
#define WM_UPDATETIME6 WM_USER+1005
//定义1ms时钟间隔,以ms为单位
# define ONE_MILLI_SECOND 1
//定义时钟分辨率,以ms为单位
# define TIMER_ACCURACY 1
/////////////////////////////////////////////////////////////////////////////
// CMulti_TimerDlg dialog
class CMulti_TimerDlg : public CDialog
{
// Construction
public:
int Sum;
int timer1;
CMulti_TimerDlg(CWnd* pParent = NULL); // standard constructor
~CMulti_TimerDlg();
// Dialog Data
//{{AFX_DATA(CMulti_TimerDlg)
enum { IDD = IDD_MULTI_TIMER_DIALOG };
CString m_strTime;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMulti_TimerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMulti_TimerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonTime1();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButtonTime2();
afx_msg void OnButtonTime3();
afx_msg void OnButtonTime4();
afx_msg void OnButtonTime31();
afx_msg void OnButtonTime41();
afx_msg void OnButtonTime5();
afx_msg void OnButtonTime51();
afx_msg void OnButtonTime6();
afx_msg void OnButtonTime7();
afx_msg void OnButtonTime71();
afx_msg void OnButtonTime72();
afx_msg void OnButtonTime73();
afx_msg void OnAbout();
afx_msg void OnButtonTime61();
//}}AFX_MSG
void OnUpdateTime1();
void OnUpdateTime2();
void OnUpdateTime3();
void OnUpdateTime4();
void OnUpdateTime5();
void OnUpdateTime6();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MULTI_TIMERDLG_H__38BA0A82_4E03_461F_B4AE_1A4E616BC76A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -