settime.cpp

来自「智能阅读器       阅读器(运行于WINCE平台):阅读器满足一般现实」· C++ 代码 · 共 50 行

CPP
50
字号
// SetTime.cpp : implementation file
//

#include "stdafx.h"
#include "WinCEJob.h"
#include "SetTime.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSetTime dialog


CSetTime::CSetTime(CWnd* pParent /*=NULL*/)
	: CDialog(CSetTime::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSetTime)
	m_time = 0;
	//}}AFX_DATA_INIT
}


void CSetTime::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetTime)
	DDX_Text(pDX, IDC_EDIT1, m_time);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSetTime, CDialog)
	//{{AFX_MSG_MAP(CSetTime)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSetTime message handlers
int timeset;
void CSetTime::OnOK() 
{
	UpdateData(true);
	timeset = m_time;
	CDialog::OnOK();
}

⌨️ 快捷键说明

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