========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : 2
========================================================================
AppWizard has created this 2 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 2 application.
2.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.
2.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CMy2App application class.
2.cpp
This is the main application source file that contains the application
class CMy2App.
2.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++.
2.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\2.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file 2.rc.
res\2.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
CFrameWnd and controls all SDI 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 2.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
2Doc.h, 2Doc.cpp - the document
These files contain your CMy2Doc class. Edit these files to
add your special document data and to implement file saving and loading
(via CMy2Doc::Serialize).
2View.h, 2View.cpp - the view of the document
These files contain your CMy2View class.
CMy2View objects are used to view CMy2Doc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named 2.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.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
实验:MFC与Windows程序设计(
共46个文件
h:10个
cpp:9个
obj:9个
3星 · 超过75%的资源 需积分: 9 12 下载量 77 浏览量
2011-06-22
10:08:51
上传
评论
收藏 2.15MB ZIP 举报
温馨提示
2) 编写一个如示例ExDlgCtl的MFC对话框应用程序,其中必须实现的功能包括: “对话框”菜单下的模态对话框、非模态对话框和文件对话框; “控件”菜单下的计算器、动态创建按钮、上网问卷调查、调整对话框背景色等四个对话框。 示例中的其它功能可以根据实际情况决定是否编写。(4学时) 3)编写一个如示例ExMenu的MFC菜单、工具栏和状态栏的应用程序,编写该实验时注意功能的完整性,包括两个菜单的切换、右键弹出式菜单、工具栏的切换、状态栏信息格的添加等功能。(4学时) 4)编写一个如示例ExDraw的MFC绘图应用程序,实现画点、线、矩形、椭圆等图形,并可以根据用户选择的画笔和画刷进行绘制,最后要求实现画笔的功能。(4学时) 5)选作,编写一个如示例ExMDI的MFC多文档应用程序,在每个文档中绘制一个4×4的方格,用户可以根据选定的颜色绘制特定的方格,可以将绘制的结果保存到文件中,也可以打开已有的文件进行重新编辑。
资源推荐
资源详情
资源评论
收起资源包目录
2.zip (46个子文件)
2
jie3.cpp 1KB
JIE.cpp 1022B
2.aps 29KB
StdAfx.cpp 203B
resource.h 1KB
jie2.h 1KB
jie1.cpp 2KB
jie1.h 1KB
2.ncb 57KB
2View.h 2KB
2Doc.h 1KB
2.dsw 508B
2View.cpp 2KB
MainFrm.h 2KB
jie3.h 1KB
2.dsp 4KB
Debug
vc60.pdb 364KB
2.pdb 25KB
2.obj 22KB
vc60.idb 225KB
2Doc.obj 14KB
2.pch 5.31MB
jie3.obj 15KB
2.res 7KB
MainFrm.obj 19KB
StdAfx.obj 103KB
JIE.obj 16KB
jie1.obj 17KB
jie2.obj 15KB
2View.obj 21KB
ReadMe.txt 4KB
StdAfx.h 1KB
2.rc 13KB
MainFrm.cpp 2KB
2.plg 887B
2.opt 55KB
2.clw 3KB
2Doc.cpp 2KB
2.cpp 4KB
2.h 1KB
jie2.cpp 1KB
res
2Doc.ico 1KB
2.ico 1KB
2.rc2 393B
Toolbar.bmp 1KB
JIE.h 1KB
共 46 条
- 1
资源评论
- shenhai1932012-12-23不好,有错误
- newwst2011-09-15正在研究,里面要是注释多点就好了.
jie1793162945
- 粉丝: 3
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功