资源简介
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++高斯投影正反算
相关资源
- VS2010中MFC工程名的修改
- VC++查看鼠标在图像选点坐标程序
- MFC类图-vs2010最新
- MFCC的matlab实现
- VC6.0下开发的仿windows记事本-达尔魔记
- VS2010/MFC 读写excel文件 操作类
- MFC读取SHP文件
- 斗地主小游戏MFC版源程序
- C++网络聊天室程序
- 说话人识别代码
- VS2012 MFC小程序 简易网络聊天室
- C++Test9.5的插件版合共工具
- MFC中使用JSONCPP_VS2013
- MFC 制作文本编辑器 桌面便签 置顶 置
- mfc+opengl离散点绘制曲面
- MFC 实现读取文件中的数字,并求和
- MFC和MATLAB混合编程
- C++MFC物资管理系统源码.zip
- vc++6.0 mfc 关于播放.AVI格式的文件源代
- mfc 课程设计 view 浏览器 收藏夹
- MFC绘图小程序可以拖动哦
- 基于vc的mfc手柄遥控上位机Joy_Send步骤
- MFC必用的CwImage库
- MFC简单mp3播放器
- MFC实现图形放大缩小
- mfc的父子窗体调用
- MFC GDI+练手学习
- mfc 走样反走样时钟
- MFC 用SOCKET实现图片分包传送和接收并
- MFC可视化信息管理系统简单的程序,
评论
共有 条评论