资源简介
用MFC开发的万年历,里面有源代码是学习的很好资料
代码片段和文件信息
// calendar1.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “calendar1.h“
#include “calendar1Dlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCalendar1App
BEGIN_MESSAGE_MAP(CCalendar1App CWinApp)
//{{AFX_MSG_MAP(CCalendar1App)
//}}AFX_MSG_MAP
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCalendar1App construction
CCalendar1App::CCalendar1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCalendar1App object
CCalendar1App theApp;
/////////////////////////////////////////////////////////////////////////////
// CCalendar1App initialization
BOOL CCalendar1App::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
CCalendar1Dlg dlg;
m_pMainWnd = &dlg;
this->SetDialogBkColor(RGB(0150100)RGB(500150));
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 2005-07-07 07:41 calendar1
文件 58368 2005-07-09 09:34 calendar1\calendar1.ncb
文件 36864 2005-07-09 09:34 calendar1\calendar1.exe
文件 3011 2005-07-09 09:31 calendar1\calendar1.dsp
文件 543 2005-07-05 10:58 calendar1\calendar1.dsw
文件 1650 2005-07-09 09:34 calendar1\calendar1.clw
文件 683 2005-07-09 09:34 calendar1\calendar1.plg
文件 36496 2005-07-09 09:27 calendar1\calendar1.aps
文件 6604 2005-07-09 09:27 calendar1\calendar1.rc
文件 3350 2005-07-09 09:29 calendar1\calendar1Dlg.h
文件 1052 2005-07-09 09:25 calendar1\resource.h
文件 3633 2005-07-05 10:58 calendar1\ReadMe.txt
文件 211 2005-07-05 10:58 calendar1\StdAfx.cpp
文件 1054 2005-07-05 10:58 calendar1\StdAfx.h
目录 0 2005-07-07 07:41 calendar1\res
文件 400 2000-03-22 16:05 calendar1\res\calendar1.rc2
文件 1078 2005-07-23 16:47 calendar1\res\calendar1.ico
文件 2030 2005-07-09 09:26 calendar1\calendar1.cpp
文件 53760 2005-07-09 09:34 calendar1\calendar1.opt
文件 1215 2005-07-09 09:26 calendar1\calendar1.h
文件 32127 2005-07-09 09:29 calendar1\calendar1Dlg.cpp
-rw-r--r-- 227 2011-08-12 15:27 readme_verysource.com.txt
----------- --------- ---------- ----- ----
244356 22
- 上一篇:隐含马尔科夫链的C语言实现
- 下一篇:链表的归并 数据结构 C语言实现
相关资源
- DS1302万年历设计 stm32
- 按键可调万年历(单片机程序)
- MFC 日历控件 万年历 Calendar自绘
- C++编写的万年历源码
- 基于C51与1602液晶显示屏的万年历电子
- VS MFC C++ 万年历
- 单片机万年历
- 基于51单片机的万年历设计
- c++ 桌面精灵模块源码(附万年历+备忘
- FPGA万年历的实验代码
- TFTLCD显示-电子钟-万年历-完整
- 图形化界面的万年历代码
- c语言万年历的课程设计及源码
- C语言实现农历万年历,农历公历转换
- 51单片机数码管显示万年历的程序
- C语言课程设计万年历
- C语言编写的万年历,界面友好
- STC15F单片机制作的:计算器、万年历
- c语言万年历源码.zip
- 基于单片机控制的电子万年历
- 电子万年历Proteus仿真+源代码+原理图
- c++ 制作 万年历 (C语言基础巩固与提
- 基于Proteus 仿真的电子万年历
- 万年历及24节气c语言代码
- C++ MFC-课程设计万年历txt文档读取节假
- 用stm32设计的rtc万年历程序
- 用c语言实现的万年历,带农历
- 51 单片机 万年历 完整程序
- C++课设万年历显示
- Qt_Creater开发万年历(C++)
评论
共有 条评论