资源简介
MFC App向导生成,基于现成的edit类,适合MFC新手

代码片段和文件信息
// LusEditor.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “LusEditor.h“
#include “MainFrm.h“
#include “LusEditorDoc.h“
#include “LusEditorView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLusEditorApp
BEGIN_MESSAGE_MAP(CLusEditorApp CWinApp)
//{{AFX_MSG_MAP(CLusEditorApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}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()
/////////////////////////////////////////////////////////////////////////////
// CLusEditorApp construction
CLusEditorApp::CLusEditorApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CLusEditorApp object
CLusEditorApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CLusEditorApp initialization
BOOL CLusEditorApp::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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CLusEditorDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CLusEditorView));
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;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 104802 2010-01-08 21:42 res\baidu_logo.bmp
文件 1078 2010-01-09 10:32 res\LusEditor.ico
文件 401 2010-01-06 18:19 res\LusEditor.rc2
文件 1078 2010-01-09 10:31 res\LusEditorDoc.ico
文件 1918 2010-01-08 22:39 res\Toolbar.bmp
文件 3557 2010-02-19 15:18 LusEditor.clw
文件 4263 2010-01-06 18:19 LusEditor.cpp
文件 4948 2010-01-08 23:40 LusEditor.dsp
文件 543 2010-01-06 18:25 LusEditor.dsw
文件 1389 2010-01-06 18:19 LusEditor.h
文件 15080 2010-01-09 10:32 LusEditor.rc
文件 781 2010-01-09 09:12 LusEditor.reg
文件 1878 2010-01-06 18:19 LusEditorDoc.cpp
文件 1508 2010-01-06 18:19 LusEditorDoc.h
文件 2988 2010-01-09 14:08 LusEditorView.cpp
文件 1943 2010-01-06 18:19 LusEditorView.h
文件 6311 2010-02-19 15:17 MainFrm.cpp
文件 1947 2010-01-08 23:54 MainFrm.h
文件 4383 2010-01-06 18:19 ReadMe.txt
文件 1714 2010-01-08 23:54 resource.h
文件 1346 2010-01-08 23:49 Searchdlg2.cpp
文件 1235 2010-01-08 23:40 Searchdlg2.h
文件 1368 2010-01-08 21:54 Searchdlg.cpp
文件 1223 2010-01-08 21:44 Searchdlg.h
文件 211 2010-01-06 18:19 StdAfx.cpp
文件 1054 2010-01-06 18:19 StdAfx.h
文件 16 2010-01-09 00:27 简明教程.txt
文件 48 2010-01-09 10:44 软件说明.txt
文件 35090 2010-01-09 09:46 协议.rtf
文件 173 2010-01-09 09:09 作者主页.url
............此处省略4个文件信息
- 上一篇:C语言课程设计万年历
- 下一篇:C++高斯投影正反算
相关资源
- 基于mfc的多线程文件传输
- C语言代码高亮html输出工具
- MFC数字钟(基于VC6.0)
- VC++MFC小游戏实例教程(实例)+MFC类库
- ChartCtrl控件库(可在VS2019中使用)
- ESP8266-01S(使用手册+固件库+烧录工具
- 商品库存管理系统 C++ MFC
- Qt画图工具源码(qgraphics draw)
- mfc 调用redis
- Qt 瑞士军刀开发工具
- MFC视频播放器源码(支持avi/wma/mp3等格
- mfc绘图大全(画直线、矩形、椭圆)
- 使用Qt实现Excel读取工具
- Tcp自定义命令调试工具
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- 对话框中实现浮动工具栏
- MFC文档_视图_框架_模板结构体系深入
- ftp工具代码
- 简单员工管理系统(适合初学MFC)
- c++语法查询工具
- dll依赖文件检测工具
- MFC五子棋游戏
- Linux开发工具手册
- MFC UDP编程
- MFC的异步网络通讯应用程序
- C++MFC模块讲解,黑发程序员课程整理
- qt写的记事本
- 一个简单而强大的基于MFC的web server源
评论
共有 条评论