========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : ex06b
========================================================================
AppWizard has created this ex06b 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 ex06b application.
ex06b.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.
ex06b.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CEx06bApp application class.
ex06b.cpp
This is the main application source file that contains the application
class CEx06bApp.
ex06b.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++.
ex06b.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\ex06b.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file ex06b.rc.
res\ex06b.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 ex06b.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
ex06bDoc.h, ex06bDoc.cpp - the document
These files contain your CEx06bDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CEx06bDoc::Serialize).
ex06bView.h, ex06bView.cpp - the view of the document
These files contain your CEx06bView class.
CEx06bView objects are used to view CEx06bDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named ex06b.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++ 6.0非模式对话框示例以及对比Java的Swing编程的感想
共47个文件
ico:10个
h:7个
cpp:6个
4星 · 超过85%的资源 需积分: 10 49 下载量 139 浏览量
2009-09-27
14:28:36
上传
评论
收藏 1.91MB RAR 举报
温馨提示
环境:Window XP SP3、VC++ 6.0 VC++中编写模式对话框非常容易,只需要在呼叫一个不带参数的对话框类的构造方法之后,然后呼叫对话框的DoModal方法即可,而书写一个非模式对话框比较复杂。 不过当本人按照《Visual C++技术内幕》的说明做完非模式对话框示例之后,本人觉得其实不是很难,因为如果使用过Eclipse(或者记事本)书写过Swing程序,那么理解起来比较容易。它的难点就是自定义的消息句柄问题,因为IDE不帮助初学者“自动”生成代码,这需要我们程序员来理解消息句柄的概念。 Windows的自定义消息句柄处理过程非常类似于Swing编程中Frame类与监听器的关系,只不过Java的虚拟机隐藏了底层系统的细节部分。这使得本人在学习了VC++的非模式对话框编程之后,更加理解了Java中Swing编程的原理--真是幸哉!这也就说明,如果你参与(学习)过Java的C/S开发技术,那么自然学习C++的可视化编程也不难。本示例注释非常详细。 阅读人员:学习过Swing编程技术,并且也想学习VC++编程的人员
资源推荐
资源详情
资源评论
收起资源包目录
ex06b.rar (47个子文件)
ex06b
ex06b.opt 49KB
StdAfx.cpp 207B
ex06b.cpp 4KB
resource.h 1KB
ex06b.ncb 65KB
Ex06Dialog.h 2KB
MainFrm.h 2KB
ex06bDoc.cpp 2KB
ex06b.rc 14KB
ex06b.dsp 5KB
Debug
ex06b.exe 136KB
ex06bDoc.obj 14KB
ex06b.pch 5.24MB
vc60.pdb 356KB
ex06bView.obj 23KB
vc60.idb 217KB
ex06b.res 23KB
ex06b.obj 22KB
Ex06Dialog.obj 29KB
MainFrm.obj 20KB
StdAfx.obj 103KB
ex06b.ilk 426KB
ex06b.pdb 521KB
ex06b.aps 60KB
ReadMe.txt 4KB
StdAfx.h 1KB
ex06b.dsw 535B
ex06bDoc.h 1KB
ex06b.clw 3KB
MainFrm.cpp 2KB
ex06b.plg 1KB
ex06bView.cpp 3KB
res
63.ICO 766B
6.ICO 2KB
5.ICO 2KB
ex06b.ico 1KB
ex06b.rc2 397B
3.ICO 2KB
66.ICO 766B
ex06bDoc.ico 1KB
Toolbar.bmp 1KB
4.ICO 2KB
2.ICO 2KB
1.ICO 2KB
Ex06Dialog.cpp 7KB
ex06bView.h 2KB
ex06b.h 1KB
共 47 条
- 1
资源评论
- 飞星462013-05-17文不对题,例子明明用的就是模式窗口,感觉没什么帮助
- chenlangren2014-06-26复习下,有点意思。
技术大黍-曾老师
- 粉丝: 109
- 资源: 108
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 简单的SAR成像matlab代码
- cutcamera1699880194026.png
- 1999-2022年各省城镇居民人均消费支出数据(无缺失).xls
- 药店销售管理系统ssm(药品销售)【说明】资源来源网络以及部分开源社区、仅供参考与学习、项目不可商用、一切后果由使用者承担、若
- DHT11 (2)(2).apk
- 基于JSP毕业设计-学生管理系统-毕业设计.zip
- HTML+CSS+JS精品网页模板H111.rar
- 人工智能:python+OpenCV实现视频跟踪流水线缺陷检测识别
- 2005-2022年各省居民人均消费支出数据(无缺失).xlsx
- HTML+CSS+JS精品网页模板H110.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功