📄 computedlg.h
字号:
#if !defined(AFX_COMPUTEDLG_H__7D11C161_6C0B_11D0_8FD6_00C04FC2A0C2__INCLUDED_)
#define AFX_COMPUTEDLG_H__7D11C161_6C0B_11D0_8FD6_00C04FC2A0C2__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// ComputeDlg.h : header file
//
#define WM_THREADFINISHED WM_USER + 5
UINT ComputeThreadProc(LPVOID pParam);
/////////////////////////////////////////////////////////////////////////////
// CComputeDlg dialog
class CComputeDlg : public CDialog
{
LRESULT OnThreadFinished(WPARAM wParam, LPARAM lParam);
private:
int m_nTimer;
public:
enum { nMaxCount = 10000 };
// Construction
public:
CComputeDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CComputeDlg)
enum { IDD = IDD_COMPUTE };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComputeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CComputeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnStart();
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMPUTEDLG_H__7D11C161_6C0B_11D0_8FD6_00C04FC2A0C2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -