================================================================================
MICROSOFT 基础类库: testtoolbar 项目概述
===============================================================================
应用程序向导已为您创建了这个 testtoolbar 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。
本文件概要介绍组成 testtoolbar 应用程序的每个文件的内容。
testtoolbar.vcxproj
这是使用应用程序向导生成的 VC++ 项目的主项目文件。
它包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
testtoolbar.vcxproj.filters
这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。
它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
testtoolbar.h
这是应用程序的主要头文件。它包括其他项目特定的头文件(包括 Resource.h),并声明 CtesttoolbarApp 应用程序类。
testtoolbar.cpp
这是包含应用程序类 CtesttoolbarApp 的主要应用程序源文件。
testtoolbar.rc
这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源位于 2052 中。
res\testtoolbar.ico
这是用作应用程序图标的图标文件。此图标包括在主要资源文件 testtoolbar.rc 中。
res\testtoolbar.rc2
此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。
/////////////////////////////////////////////////////////////////////////////
对于主框架窗口:
项目包含标准 MFC 界面。
MainFrm.h, MainFrm.cpp
这些文件包含框架类 CMainFrame,该类派生自
CFrameWnd 并控制所有 SDI 框架功能。
/////////////////////////////////////////////////////////////////////////////
应用程序向导创建一个文档类型和一个视图:
testtoolbarDoc.h,testtoolbarDoc.cpp - 文档
这些文件包含 CtesttoolbarDoc 类。编辑这些文件可以添加特殊文档数据并可实现文件保存和加载(通过 CtesttoolbarDoc::Serialize)。
testtoolbarView.h,testtoolbarView.cpp - 文档的视图
这些文件包含 CtesttoolbarView 类。
CtesttoolbarView 对象用于查看 CtesttoolbarDoc 对象。
/////////////////////////////////////////////////////////////////////////////
其他功能:
ActiveX 控件
应用程序包括对使用 ActiveX 控件的支持。
打印及打印预览支持
应用程序向导已通过从 MFC 库调用 CView 类中的成员函数,生成了用于处理打印、打印设置和打印预览命令的代码。
/////////////////////////////////////////////////////////////////////////////
其他标准文件:
StdAfx.h,StdAfx.cpp
这些文件用于生成名为 testtoolbar.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
Resource.h
这是标准头文件,它定义新的资源 ID。
Microsoft Visual C++ 读取并更新此文件。
testtoolbar.manifest
应用程序清单文件供 Windows XP 用来描述应用程序
对特定版本并行程序集的依赖性。加载程序使用此
信息从程序集缓存加载适当的程序集或
从应用程序加载私有信息。应用程序清单可能为了重新分发而作为
与应用程序可执行文件安装在相同文件夹中的外部 .manifest 文件包括,
也可能以资源的形式包括在该可执行文件中。
/////////////////////////////////////////////////////////////////////////////
其他注释:
应用程序向导使用“TODO:”指示应添加或自定义的源代码部分。
如果应用程序在共享的 DLL 中使用 MFC,则需要重新发布这些 MFC DLL;如果应用程序所用的语言与操作系统的当前区域设置不同,则还需要重新发布对应的本地化资源 MFC100XXX.DLL。有关这两个主题的更多信息,请参见 MSDN 文档中有关 Redistributing Visual C++ applications (重新发布 Visual C++ 应用程序)的章节。
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
CMFCToolBar工具条添加下拉菜单按钮
共116个文件
tlog:30个
bmp:17个
h:13个
4星 · 超过85%的资源 需积分: 49 215 下载量 92 浏览量
2015-03-24
14:37:11
上传
评论 3
收藏 23.7MB RAR 举报
温馨提示
VS2010,在CMFCToolBar工具条上添加下拉菜单按钮,源码例程,修改时注意在编译前要删除注册表应用程序项~
资源推荐
资源详情
资源评论
收起资源包目录
CMFCToolBar工具条添加下拉菜单按钮 (116个子文件)
testtoolbar.aps 191KB
menuimages_hc.bmp 22KB
UserImages.bmp 8KB
toolbar2.bmp 7KB
Toolbar256.bmp 6KB
classview_hc.bmp 5KB
menuimages.bmp 4KB
properties_hc.bmp 3KB
fileview_hc.bmp 2KB
sort_hc.bmp 2KB
Toolbar.bmp 1KB
classview.bmp 958B
explorer_hc.bmp 824B
properties.bmp 630B
fileview.bmp 478B
toolbar1.bmp 478B
sort.bmp 374B
explorer.bmp 246B
MainFrm.cpp 15KB
ClassView.cpp 9KB
PropertiesWnd.cpp 8KB
FileView.cpp 7KB
testtoolbar.cpp 5KB
OutputWnd.cpp 5KB
testtoolbarDoc.cpp 3KB
TrueColorToolBar.cpp 3KB
testtoolbarView.cpp 3KB
ViewTree.cpp 876B
stdafx.cpp 144B
Thumbs.db 42KB
testtoolbar.exe 411KB
testtoolbar.vcxproj.filters 6KB
resource.h 9KB
MainFrm.h 2KB
stdafx.h 2KB
TrueColorToolBar.h 1KB
PropertiesWnd.h 1KB
ClassView.h 1KB
testtoolbarView.h 1KB
FileView.h 1KB
OutputWnd.h 1017B
testtoolbarDoc.h 877B
testtoolbar.h 685B
ViewTree.h 372B
targetver.h 234B
testtoolbar.ico 66KB
testtoolbarDoc.ico 5KB
class_view_hc.ico 2KB
file_view_hc.ico 2KB
output_wnd_hc.ico 2KB
properties_wnd_hc.ico 2KB
class_view.ico 1KB
output_wnd.ico 1KB
file_view.ico 1KB
properties_wnd.ico 1KB
vc100.idb 1.92MB
testtoolbar.ilk 3.4MB
testtoolbar.lastbuildstate 66B
testtoolbar.log 3KB
testtoolbar.exe.embed.manifest 915B
testtoolbar.exe.intermediate.manifest 640B
stdafx.obj 625KB
ClassView.obj 187KB
PropertiesWnd.obj 173KB
MainFrm.obj 153KB
FileView.obj 135KB
OutputWnd.obj 98KB
testtoolbar.obj 57KB
testtoolbarDoc.obj 55KB
testtoolbarView.obj 32KB
TrueColorToolBar.obj 25KB
ViewTree.obj 19KB
testtoolbar.pch 32.19MB
testtoolbar.pdb 5.75MB
vc100.pdb 3.32MB
testtoolbar.rc 34KB
testtoolbar_manifest.rc 212B
testtoolbar.rc2 678B
testtoolbar.res 146KB
testtoolbar.exe.embed.manifest.res 980B
testtoolbar.sdf 56.46MB
testtoolbar.sln 900B
testtoolbar.suo 15KB
CL.read.1.tlog 73KB
CL.write.1.tlog 10KB
cl.command.1.tlog 9KB
link.read.1.tlog 7KB
rc.read.1.tlog 7KB
link.command.1.tlog 3KB
link.write.1.tlog 2KB
rc.command.1.tlog 1KB
mt.read.1.tlog 764B
mt.command.1.tlog 760B
rc.write.1.tlog 606B
mt.write.1.tlog 526B
link.8716.read.1.tlog 2B
link.4712.write.1.tlog 2B
link.4712-cvtres.read.1.tlog 2B
link-cvtres.read.1.tlog 2B
link.2488.write.1.tlog 2B
共 116 条
- 1
- 2
CallMeZane
- 粉丝: 4
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页