📄 settime.cpp
字号:
// settime.cpp : implementation file
//
#include "stdafx.h"
#include "ticktacktoe.h"
#include "settime.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// settime dialog
settime::settime(CWnd* pParent /*=NULL*/)
: CDialog(settime::IDD, pParent)
{
//{{AFX_DATA_INIT(settime)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void settime::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(settime)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(settime, CDialog)
//{{AFX_MSG_MAP(settime)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// settime message handlers
/////////////////////////////////////////////////////////////////////////////
// settime dialog
settime::settime(CWnd* pParent /*=NULL*/)
: CDialog(settime::IDD, pParent)
{
EnableAutomation();
//{{AFX_DATA_INIT(settime)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void settime::OnFinalRelease()
{
// When the last reference for an automation object is released
// OnFinalRelease is called. The base class will automatically
// deletes the object. Add additional cleanup required for your
// object before calling the base class.
CDialog::OnFinalRelease();
}
void settime::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(settime)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(settime, CDialog)
//{{AFX_MSG_MAP(settime)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BEGIN_DISPATCH_MAP(settime, CDialog)
//{{AFX_DISPATCH_MAP(settime)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()
// Note: we add support for IID_Isettime to support typesafe binding
// from VBA. This IID must match the GUID that is attached to the
// dispinterface in the .ODL file.
// {3FC0D964-45FD-451E-9A1C-A3B952FEC0BD}
static const IID IID_Isettime =
{ 0x3fc0d964, 0x45fd, 0x451e, { 0x9a, 0x1c, 0xa3, 0xb9, 0x52, 0xfe, 0xc0, 0xbd } };
BEGIN_INTERFACE_MAP(settime, CDialog)
INTERFACE_PART(settime, IID_Isettime, Dispatch)
END_INTERFACE_MAP()
/////////////////////////////////////////////////////////////////////////////
// settime message handlers
/////////////////////////////////////////////////////////////////////////////
// settime dialog
settime::settime(CWnd* pParent /*=NULL*/)
: CDialog(settime::IDD, pParent)
{
//{{AFX_DATA_INIT(settime)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void settime::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(settime)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(settime, CDialog)
//{{AFX_MSG_MAP(settime)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// settime message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -