⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timedlg.h

📁 这是VC++控制计算机时钟的一个例子
💻 H
字号:
#if !defined(AFX_TIMEDLG_H__D62715D0_8FBE_11D2_BDF6_006097DB8C43__INCLUDED_)
#define AFX_TIMEDLG_H__D62715D0_8FBE_11D2_BDF6_006097DB8C43__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TimeDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTimeDlg dialog

class CTimeDlg : public CDialog
{
// Construction
public:
	CTimeDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTimeDlg)
	enum { IDD = IDD_SETTIME };
	CComboBox	m_cbMonth;
	int		m_nDay;
	int		m_nHour;
	int		m_nMinute;
	int		m_nSecond;
	int		m_nYear;
	//}}AFX_DATA
   int      m_nMonth;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTimeDlg)
	afx_msg void OnUseCurrentTime();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TIMEDLG_H__D62715D0_8FBE_11D2_BDF6_006097DB8C43__INCLUDED_)

⌨️ 快捷键说明

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