资源简介
MFC实现的抽奖程序(含代码)
用来完成日常中抽签决定的事物,短小精悍
代码片段和文件信息
// LuckyDraw.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “LuckyDraw.h“
#include “LuckyDrawDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLuckyDrawApp
BEGIN_MESSAGE_MAP(CLuckyDrawApp CWinApp)
//{{AFX_MSG_MAP(CLuckyDrawApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CLuckyDrawApp construction
CLuckyDrawApp::CLuckyDrawApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CLuckyDrawApp object
CLuckyDrawApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CLuckyDrawApp initialization
BOOL CLuckyDrawApp::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
CLuckyDrawDlg 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 2018-01-26 19:21 LuckyDraw\
目录 0 2016-07-29 15:50 LuckyDraw\.vs\
目录 0 2016-07-29 15:50 LuckyDraw\.vs\LuckyDraw\
目录 0 2016-07-29 16:19 LuckyDraw\.vs\LuckyDraw\v14\
文件 49152 2018-01-26 19:21 LuckyDraw\.vs\LuckyDraw\v14\.suo
目录 0 2016-07-29 15:50 LuckyDraw\Backup\
目录 0 2018-01-26 19:19 LuckyDraw\Debug\
文件 954 2018-01-05 15:47 LuckyDraw\Debug\LuckyDraw.Build.CppClean.log
文件 8670720 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.exe
文件 20808760 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.ilk
文件 122 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.log
文件 350846 2018-01-26 19:11 LuckyDraw\Debug\LuckyDraw.obj
文件 50331648 2018-01-26 18:26 LuckyDraw\Debug\LuckyDraw.pch
文件 37556224 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.pdb
文件 17124 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.res
目录 0 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\
文件 3348 2018-01-26 19:18 LuckyDraw\Debug\LuckyDraw.tlog\CL.command.1.tlog
文件 53168 2018-01-26 19:18 LuckyDraw\Debug\LuckyDraw.tlog\CL.read.1.tlog
文件 2100 2018-01-26 19:18 LuckyDraw\Debug\LuckyDraw.tlog\CL.write.1.tlog
文件 1438 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\li
文件 6450 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\li
文件 658 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\li
文件 182 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\LuckyDraw.lastbuildstate
文件 288 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\rc.command.1.tlog
文件 5526 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\rc.read.1.tlog
文件 138 2018-01-26 19:19 LuckyDraw\Debug\LuckyDraw.tlog\rc.write.1.tlog
文件 2828250 2016-07-29 16:31 LuckyDraw\Debug\LuckyDraw.zip
文件 1275529 2018-01-26 19:18 LuckyDraw\Debug\LuckyDrawDlg.obj
文件 595 2018-01-26 19:22 LuckyDraw\Debug\member.dat
文件 18412 2018-01-26 18:27 LuckyDraw\Debug\MyButton.obj
文件 92654 2018-01-26 18:27 LuckyDraw\Debug\MyEditBox.obj
............此处省略37个文件信息
相关资源
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- MFC五子棋游戏
- MFC UDP编程
- MFC的异步网络通讯应用程序
- C++MFC模块讲解,黑发程序员课程整理
- 一个简单而强大的基于MFC的web server源
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- MFCaccess.rar
- VC++MFC课程设计的学生成绩管理系统
- MFC 日历控件 万年历 Calendar自绘
- CrystalDiskInfo-HDD/SSD硬盘信息,SMART信息
- MFC自定义界面HUI,高效简单,含详细
- 仿射密码-Affine cipher
- c++MFC车牌自动识别定位,只能定位和
- mfc+sql 酒店客房管理系统
- 基于图割的图像分割OpenCV+MFC实现
- MFC绘制Bezier曲线B样条曲线曲线拟合
- MFC坦克大战
- VC++ 中国象棋经典游戏源代码
- 课程设计: MFC 学生信息管理系统
- MFC对ACCESS数据库的增加、删除、查找
- vc.6.0 MFC 人事管理系统源码
- MFC 在线考试系统
评论
共有 条评论