========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : IconMenu
========================================================================
AppWizard has created this IconMenu 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 IconMenu application.
IconMenu.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.
IconMenu.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CIconMenuApp application class.
IconMenu.cpp
This is the main application source file that contains the application
class CIconMenuApp.
IconMenu.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++.
IconMenu.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\IconMenu.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file IconMenu.rc.
res\IconMenu.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 IconMenu.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
IconMenuDoc.h, IconMenuDoc.cpp - the document
These files contain your CIconMenuDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CIconMenuDoc::Serialize).
IconMenuView.h, IconMenuView.cpp - the view of the document
These files contain your CIconMenuView class.
CIconMenuView objects are used to view CIconMenuDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named IconMenu.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创建自绘渐变色的带图标菜单
共33个文件
ico:12个
h:7个
cpp:6个
3星 · 超过75%的资源 需积分: 13 31 下载量 88 浏览量
2013-06-02
14:59:55
上传
评论
收藏 37KB RAR 举报
温馨提示
VC创建渐变色背景的图标程序菜单,无使用三方控件,效果挺不错的VC窗体菜单,创建图像列表,添加图标,绘制分隔条,绘制菜单项文本【参数说明: m_pdc标识画布对象,str标识菜单文本,m_rect标识菜单区域】,读取渐变起点的颜色值,读取渐变终点的颜色值,菜单区域水平方向每个点RGB值应该变化的度(范围),菜单区域水平方向每个点的颜色值。
资源推荐
资源详情
资源评论
收起资源包目录
IconMenu.rar (33个子文件)
codefans.net
IconMenu
IconMenu1.cpp 6KB
IconMenu.dsw 541B
IconMenu.cpp 4KB
res
icon9.ico 766B
icon2.ico 766B
IconMenuDoc.ico 1KB
IconMenu.ico 1KB
icon1.ico 766B
icon10.ico 766B
icon3.ico 766B
icon4.ico 766B
icon5.ico 766B
Toolbar.bmp 1KB
icon8.ico 766B
IconMenu.rc2 400B
icon7.ico 766B
icon6.ico 766B
IconMenu.rc 12KB
IconMenu.aps 39KB
IconMenu.dsp 5KB
IconMenu.clw 2KB
IconMenu.h 1KB
IconMenuView.h 2KB
IconMenu1.h 2KB
StdAfx.cpp 210B
MainFrm.cpp 3KB
resource.h 1KB
MainFrm.h 2KB
StdAfx.h 1KB
IconMenuDoc.h 2KB
IconMenuView.cpp 3KB
IconMenuDoc.cpp 2KB
ReadMe.txt 4KB
共 33 条
- 1
资源评论
- xf8732015-01-21自绘菜单,初学者可以借鉴
- vc8fans2013-06-026-7年前吉林明日科技VC书籍中的代码老旧了,
- tjzkangpeng2014-04-23自绘菜单,初学者可以借鉴
godpower888
- 粉丝: 14
- 资源: 75
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功