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

📄 alarmd~1.cpp

📁 InsideVC++配套源码之四
💻 CPP
字号:
// AlarmDialog.cpp : implementation file
//

#include "stdafx.h"
#include "ex24e.h"
#include "AlarmDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAlarmDialog dialog


CAlarmDialog::CAlarmDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CAlarmDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAlarmDialog)
	m_nHours = 0;
	m_nMinutes = 0;
	m_nSeconds = 0;
	//}}AFX_DATA_INIT
}


void CAlarmDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAlarmDialog)
	DDX_Text(pDX, IDC_HOURS, m_nHours);
	DDV_MinMaxInt(pDX, m_nHours, 0, 23);
	DDX_Text(pDX, IDC_MINUTES, m_nMinutes);
	DDV_MinMaxInt(pDX, m_nMinutes, 0, 59);
	DDX_Text(pDX, IDC_SECONDS, m_nSeconds);
	DDV_MinMaxInt(pDX, m_nSeconds, 0, 59);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAlarmDialog, CDialog)
	//{{AFX_MSG_MAP(CAlarmDialog)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAlarmDialog message handlers

⌨️ 快捷键说明

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