资源简介
VC/MFC 使用 日期控件 设置、获取 日期时间信息

代码片段和文件信息
// DatePickerDemo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DatePickerDemo.h“
#include “DatePickerDemoDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDatePickerDemoApp
BEGIN_MESSAGE_MAP(CDatePickerDemoApp CWinApp)
//{{AFX_MSG_MAP(CDatePickerDemoApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDatePickerDemoApp construction
CDatePickerDemoApp::CDatePickerDemoApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDatePickerDemoApp object
CDatePickerDemoApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDatePickerDemoApp initialization
BOOL CDatePickerDemoApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CDatePickerDemoDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-07-20 18:01 DatePickerDemo\
文件 1287 2008-04-03 20:35 DatePickerDemo\DatePickerDemo.clw
文件 2175 2008-04-03 19:58 DatePickerDemo\DatePickerDemo.cpp
文件 4303 2008-04-03 19:58 DatePickerDemo\DatePickerDemo.dsp
文件 553 2008-04-03 19:58 DatePickerDemo\DatePickerDemo.dsw
文件 1412 2008-04-03 19:58 DatePickerDemo\DatePickerDemo.h
文件 5587 2008-04-03 20:27 DatePickerDemo\DatePickerDemo.rc
文件 5192 2008-04-03 20:35 DatePickerDemo\DatePickerDemoDlg.cpp
文件 1453 2008-04-03 20:07 DatePickerDemo\DatePickerDemoDlg.h
文件 3723 2008-04-03 19:58 DatePickerDemo\ReadMe.txt
目录 0 2011-07-20 18:01 DatePickerDemo\res\
文件 738 2008-04-03 20:08 DatePickerDemo\Resource.h
文件 1078 2008-04-03 19:58 DatePickerDemo\res\DatePickerDemo.ico
文件 406 2008-04-03 19:58 DatePickerDemo\res\DatePickerDemo.rc2
文件 216 2008-04-03 19:58 DatePickerDemo\StdAfx.cpp
文件 1054 2008-04-03 19:58 DatePickerDemo\StdAfx.h
相关资源
- 使用C语言编写的病房管理系统
- Em算法(使用C++编写)
- 使用LCD9648显示文字
- ChartCtrl控件库(可在VS2019中使用)
- ESP8266-01S(使用手册+固件库+烧录工具
- 使用QWT库实现接收串口数据,并根据
- 使用wxWidgets进行跨平台程序开发
- STM32连接EC20使用内置MQTT协议接入阿里
- C语言的嵌入式汇编基本使用.docx(2页
- 基于STM32F103C8T6主控板使用BH1750检测光
- 使用Qt实现Excel读取工具
- 海康私有流分析接口源码(附使用说
- 农业生态气象自动化观测系统使用说
- c++curllib传输json使用
- 使用 IBM Rational Systems Developer 和 Rati
- easySize使用方法和代码
- 标准的MD5源码md5.cmd5.h使用说明文件
- C语言math.h文件使用说明及相应程序
- 汉字取模软件----单片机使用必备
- 编译原理实验报告+代码+使用说明
- 使用C++超级玛丽制作-100%源码公开-不
- c++使用ffmpeg把h264/h265和mp3写入mp4文件
- VC++写的SMTP协议发附件超酷啊直接可以
- 使用C/C++读取BITMAP的内容
- 超市进销存管理系统——以及使用说
- 使用socket套接字发送udp数据包
- 定义和使用分数类fraction
- 使用平衡二叉树管理的学生管理系统
- Linux多线程服务端编程:使用muduo C+
- 简易防火墙使用C++与Qt4.5带源代码
评论
共有 条评论