ex17dlg.h

来自「一些VC++的经典实例」· C头文件 代码 · 共 67 行

H
67
字号
// ex17Dlg.h : header file
//

#if !defined(AFX_EX17DLG_H__E0D0AB70_AF8C_4B15_B849_E3C8E54AFCD3__INCLUDED_)
#define AFX_EX17DLG_H__E0D0AB70_AF8C_4B15_B849_E3C8E54AFCD3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CEx17Dlg dialog

class CEx17Dlg : public CDialog
{
// Construction
public:
	int m_time;
	BOOL m_normal;
	int m_nTimer;
	UINT m_speed;
	UINT m_pos;
	CEx17Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CEx17Dlg)
	enum { IDD = IDD_EX17_DIALOG };
	UINT	m_min;
	UINT	m_sec;
	BOOL	m_beep;
	CString	m_time1;
	CString	m_time2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEx17Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CEx17Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnNormal();
	afx_msg void OnReverse();
	afx_msg void OnStart();
	afx_msg void OnClear();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EX17DLG_H__E0D0AB70_AF8C_4B15_B849_E3C8E54AFCD3__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?