资源简介
MFC的结课作业,发上来玩玩。
雅俗共赏~~
代码片段和文件信息
// chapter6_2.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “chapter6_2.h“
#include “MainFrm.h“
#include “chapter6_2Doc.h“
#include “chapter6_2View.h“
#include “View1.h“
#include “View2.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChapter6_2App
BEGIN_MESSAGE_MAP(CChapter6_2App CWinApp)
//{{AFX_MSG_MAP(CChapter6_2App)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChapter6_2App construction
CChapter6_2App::CChapter6_2App()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CChapter6_2App object
CChapter6_2App theApp;
/////////////////////////////////////////////////////////////////////////////
// CChapter6_2App initialization
BOOL CChapter6_2App::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
// Change the registry key under which our settings are stored.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register document templates
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CChapter6_2Doc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CView1));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(CAboutDlg)
// No message handlers
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
// 属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2655 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\chapter6_2.clw
文件 543 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\chapter6_2.dsw
文件 1258 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\chapter6_2.h
文件 99328 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\chapter6_2.ncb
文件 1324 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\chapter6_2.plg
文件 2776 2005-04-13 21:59 蔡泽能 0806550207大家来找茬\chapter6_2View.cpp
文件 212 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\StdAfx.cpp
文件 1079 2005-04-13 22:00 蔡泽能 0806550207大家来找茬\StdAfx.h
文件 1078 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\res\chapter6_2.ico
文件 402 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\res\chapter6_2.rc2
文件 1078 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\res\chapter6_2Doc.ico
文件 1078 2005-04-13 21:34 蔡泽能 0806550207大家来找茬\res\Toolbar.bmp
文件 1156456 2010-06-23 21:38 蔡泽能 0806550207大家来找茬\res\10001.bmp
文件 1156456 2010-06-23 21:38 蔡泽能 0806550207大家来找茬\res\10002.bmp
文件 2330324 2010-06-24 01:07 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.res
文件 230400 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\vc60.idb
文件 5865076 2010-06-23 21:53 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.pch
文件 372736 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\vc60.pdb
文件 105976 2010-06-23 21:53 蔡泽能 0806550207大家来找茬\Debug\StdAfx.obj
文件 5005405 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.exe
文件 4236288 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.pdb
文件 20350 2010-06-24 00:23 蔡泽能 0806550207大家来找茬\Debug\MainFrm.obj
文件 29359 2010-06-24 00:42 蔡泽能 0806550207大家来找茬\Debug\chapter6_2View.obj
文件 22241 2010-06-24 00:42 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.obj
文件 30366 2010-06-24 00:42 蔡泽能 0806550207大家来找茬\Debug\chapter6_2Doc.obj
文件 2590128 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\chapter6_2.ilk
文件 38771 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\View2.obj
文件 38970 2010-06-24 01:08 蔡泽能 0806550207大家来找茬\Debug\View1.obj
文件 1870 2010-06-23 20:40 蔡泽能 0806550207大家来找茬\chapter6_2View.h
文件 3565 2010-06-23 21:00 蔡泽能 0806550207大家来找茬\chapter6_2.cpp
............此处省略19个文件信息
相关资源
- 基于MFC的TCP调试助手源码95706
- 基于mfc的多线程文件传输
- MFC数字钟(基于VC6.0)
- VC++MFC小游戏实例教程(实例)+MFC类库
- ChartCtrl控件库(可在VS2019中使用)
- 商品库存管理系统 C++ MFC
- 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样条曲线曲线拟合
川公网安备 51152502000135号
评论
共有 条评论