================================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : MDI Project Overview
===============================================================================
The application wizard has created this MDI application for
you. This application not only demonstrates the basics of using the Microsoft
Foundation Classes but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your MDI application.
MDI.vcxproj
This is the main project file for VC++ projects generated using an application wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
application wizard.
MDI.vcxproj.filters
This is the filters file for VC++ projects generated using an Application Wizard.
It contains information about the association between the files in your project
and the filters. This association is used in the IDE to show grouping of files with
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
"Source Files" filter).
MDI.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CMDIApp application class.
MDI.cpp
This is the main application source file that contains the application
class CMDIApp.
MDI.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++. Your project resources are in 1033.
res\MDI.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file MDI.rc.
res\MDI.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
MDI.reg
This is an example .reg file that shows you the kind of registration
settings the framework will set for you. You can use this as a .reg
file to go along with your application or just delete it and rely
on the default RegisterShellFileTypes registration.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
The project includes a standard MFC interface.
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CMDIFrameWnd and controls all MDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in MDI.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
For the child frame window:
ChildFrm.h, ChildFrm.cpp
These files define and implement the CChildFrame class, which
supports the child windows in an MDI application.
/////////////////////////////////////////////////////////////////////////////
The application wizard creates one document type and one view:
MDIDoc.h, MDIDoc.cpp - the document
These files contain your CMDIDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CMDIDoc::Serialize).
The Document will have the following strings:
File extension: ske
File type ID: MDI.Document
Main frame caption: MDI
Doc type name: Sketch
Filter name: MDI Files (*.ske)
File new short name: Sketch
File type long name: MDI.Document
MDIView.h, MDIView.cpp - the view of the document
These files contain your CMDIView class.
CMDIView objects are used to view CMDIDoc objects.
res\MDIDoc.ico
This is an icon file, which is used as the icon for MDI child windows
for the CMDIDoc class. This icon is included by the main
resource file MDI.rc.
/////////////////////////////////////////////////////////////////////////////
Other Features:
Printing and Print Preview support
The application wizard has generated code to handle the print, print setup, and print preview
commands by calling member functions in the CView class from the MFC library.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named MDI.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
The application wizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, you will need
to redistribute the MFC DLLs. If your application is in a language
other than the operating system's locale, you will also have to
redistribute the corresponding localized resources mfc110XXX.DLL.
For more information on both of these topics, please see the section on
redistributing Visual C++ applications in MSDN documentation.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
MFC MDI初级框架搭建及简单画图功能实现
共83个文件
h:16个
tlog:15个
cpp:12个
需积分: 5 1 下载量 41 浏览量
2023-06-01
14:12:42
上传
评论
收藏 63.28MB ZIP 举报
温馨提示
MFC MDI初级框架搭建及简单画图功能实现,基于VS2012,搭建MDI的多文档框架,实现简单的画图功能。
资源推荐
资源详情
资源评论
收起资源包目录
MDI.zip (83个子文件)
MDI.sln 933B
.gitattributes 483B
MDI
stdafx.h 994B
ElementType.h 120B
Ellipse.cpp 2KB
Line.h 470B
Element.cpp 401B
MDI.h 509B
ElementColor.h 222B
MDIView.cpp 6KB
Curve.h 660B
Line.cpp 780B
MDI.vcxproj.filters 4KB
MainFrm.cpp 2KB
ChildFrm.cpp 901B
Circle.cpp 2KB
MDIDoc.cpp 6KB
MDIView.h 2KB
res
MDI.ico 66KB
Toolbar.bmp 2KB
MDIDoc.ico 5KB
MDI.rc2 790B
Curve.cpp 2KB
Resource.h 1KB
Element.h 926B
MainFrm.h 702B
ChildFrm.h 502B
ReadMe.txt 6KB
Rectangle.h 570B
MDIDoc.h 3KB
MDI.vcxproj.user 164B
Circle.h 565B
Ellipse.h 259B
Rectangle.cpp 1KB
MDI.cpp 4KB
MDI.reg 643B
Debug
link-rc.read.1.tlog 2B
CL.write.1.tlog 4KB
rc.command.1.tlog 530B
MDI.pch 35.69MB
Line.obj 14KB
MDI.log 2KB
rc.write.1.tlog 166B
MDIDoc.obj 259KB
rc.read.1.tlog 3KB
Element.obj 9KB
link-mt.write.1.tlog 2B
MDIView.obj 190KB
vc110.pdb 6.64MB
MDI.obj 83KB
link-mt.read.1.tlog 2B
vc110.idb 2.41MB
link.command.1.tlog 2KB
link-rc.write.1.tlog 2B
Circle.obj 16KB
link-cvtres.read.1.tlog 2B
Rectangle.obj 42KB
stdafx.obj 782KB
MDI.lastbuildstate 58B
link.read.1.tlog 6KB
cl.command.1.tlog 8KB
link.write.1.tlog 1KB
link-cvtres.write.1.tlog 2B
ChildFrm.obj 28KB
MainFrm.obj 35KB
Curve.obj 142KB
MDI.res 81KB
CL.read.1.tlog 74KB
Ellipse.obj 16KB
MDI.vcxproj 7KB
stdafx.cpp 197B
targetver.h 306B
MDI.rc 15KB
MDI.sdf 88.56MB
Screenshots
3.png 67KB
1.png 56KB
2.png 43KB
MDI.v11.suo 26KB
ipch
mdi-7dd50702
mdi-b48629e6.ipch 86.5MB
.gitignore 3KB
Debug
MDI.pdb 6.78MB
MDI.exe 293KB
MDI.ilk 1.7MB
共 83 条
- 1
资源评论
缓下脚步
- 粉丝: 4764
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功