========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : ex18a
========================================================================
AppWizard has created this ex18a 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 ex18a application.
ex18a.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
ex18a.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CEx18aApp application class.
ex18a.cpp
This is the main application source file that contains the application
class CEx18aApp.
ex18a.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++.
ex18a.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\ex18a.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file ex18a.rc.
res\ex18a.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.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
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 ex18a.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.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
ex18aDoc.h, ex18aDoc.cpp - the document
These files contain your CEx18aDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CEx18aDoc::Serialize).
ex18aView.h, ex18aView.cpp - the view of the document
These files contain your CEx18aView class.
CEx18aView objects are used to view CEx18aDoc objects.
res\ex18aDoc.ico
This is an icon file, which is used as the icon for MDI child windows
for the CEx18aDoc class. This icon is included by the main
resource file ex18a.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named ex18a.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:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
针对“VC++的那些事儿”的MDI应用示例
共45个文件
h:9个
cpp:8个
obj:8个
需积分: 9 14 下载量 4 浏览量
2009-10-21
21:32:16
上传
评论
收藏 1.99MB RAR 举报
温馨提示
环境:Windows XP SP3、VC++ 6.0、 Windows 2003 Server SDK 显示MFC框架的MDI编程,其中代码的注释非常详细,如果你按照本人在“VC++的那些事儿”中描述的学习思想去学习,应该对VC++编程的代码阅读大有收获。自定义类的代码类几乎是一行注释一行代码,MFC框架的生命周期的关键方法中的代码注释也是非常详细。该示例阅读需要配合参见本人的blog说明,我想只要你喜欢“痛快”学习的感觉,那么应该给学你带来非常大的帮助。 阅读对象:熟悉C++语言、熟悉Java语言,熟悉Java的框架开发技术,特别是Swing框架技术,良好的OO思想,以及熟悉UML设计语言等技能的人。
资源推荐
资源详情
资源评论
收起资源包目录
ex18a.rar (45个子文件)
ex18a
StdAfx.cpp 207B
resource.h 1KB
ex18a.aps 46KB
ex18a.rc 14KB
ex18a.cpp 5KB
ex18aView.cpp 7KB
helper
Student.cpp 2KB
Student.h 2KB
MainFrm.h 1KB
ex18a.dsp 5KB
Debug
ex18a.pch 5.63MB
ex18a.ilk 385KB
vc60.pdb 364KB
ex18aDoc.obj 25KB
vc60.idb 225KB
ex18aView.obj 43KB
ex18a.exe 132KB
ex18a.pdb 553KB
studentpersistence.obj 16KB
Student.obj 20KB
ex18a.res 9KB
MainFrm.obj 20KB
StdAfx.obj 103KB
ex18a.obj 24KB
ChildFrm.obj 16KB
ex18aDoc.cpp 3KB
ReadMe.txt 5KB
StdAfx.h 1KB
MainFrm.cpp 3KB
ex18a.ncb 89KB
ex18a.clw 3KB
ex18a.opt 51KB
res
ex18a.rc2 397B
ex18aDoc.ico 1KB
ex18a.ico 1KB
Toolbar.bmp 2KB
ex18a.plg 1KB
ChildFrm.cpp 1KB
ChildFrm.h 1KB
ex18aDoc.h 2KB
ex18a.dsw 535B
ex18a.h 1KB
ex18aView.h 3KB
util
studentpersistence.cpp 3KB
studentpersistence.h 2KB
共 45 条
- 1
资源评论
技术大黍-曾老师
- 粉丝: 109
- 资源: 108
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功