timedlg.h

来自「这是VC++控制计算机时钟的一个例子」· C头文件 代码 · 共 52 行

H
52
字号
#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 + =
减小字号Ctrl + -
显示快捷键?