文件名称:howtoshow256color
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8.64mb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
问题:
论坛中有很多人提出:基于Windows的程序如资源管理器(Explorer.exe),IE等都能显示出漂亮的工具栏图像和图标。但是,用MFC开发的应用程序一般都只能显示16色的工具栏图像和列表视图(如CListView)图像,而无法显示在资源中创建的256色图标和位图。这是为什么?
解答:
工具栏和列表视图都是把自己的图像存储在图像列表中。这个图像列表实际上就是一个图像清单。它是一个由许多小图像组成的长条型位图图像。
-Question: There are a lot of people raised Forum: Windows-based programs such as Explorer (Explorer.exe), IE and so on can show the beautiful images and a toolbar icon. However, applications developed with MFC can display only 16 colors are generally the toolbar images and list view (such as CListView) images, and can not appear in resources to create 256-color icons and bitmaps. Why is that? Answer: Tool bar and list view the images themselves are stored in the image list. This image list is actually an image list. It is an image composed of many small bar-type bit map images.
论坛中有很多人提出:基于Windows的程序如资源管理器(Explorer.exe),IE等都能显示出漂亮的工具栏图像和图标。但是,用MFC开发的应用程序一般都只能显示16色的工具栏图像和列表视图(如CListView)图像,而无法显示在资源中创建的256色图标和位图。这是为什么?
解答:
工具栏和列表视图都是把自己的图像存储在图像列表中。这个图像列表实际上就是一个图像清单。它是一个由许多小图像组成的长条型位图图像。
-Question: There are a lot of people raised Forum: Windows-based programs such as Explorer (Explorer.exe), IE and so on can show the beautiful images and a toolbar icon. However, applications developed with MFC can display only 16 colors are generally the toolbar images and list view (such as CListView) images, and can not appear in resources to create 256-color icons and bitmaps. Why is that? Answer: Tool bar and list view the images themselves are stored in the image list. This image list is actually an image list. It is an image composed of many small bar-type bit map images.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
如何让工具条显示256色图像\Debug\BuildLog.htm
.........................\.....\Doc.obj
.........................\.....\Doc.sbr
.........................\.....\MainFrm.obj
.........................\.....\MainFrm.sbr
.........................\.....\StatLink.sbr
.........................\.....\StdAfx.obj
.........................\.....\StdAfx.sbr
.........................\.....\TBColor.bsc
.........................\.....\TBColor.exe.embed.manifest
.........................\.....\TBColor.obj
.........................\.....\TBColor.pch
.........................\.....\TBColor.sbr
.........................\.....\vc80.idb
.........................\.....\vc80.pdb
.........................\.....\View.obj
.........................\.....\View.sbr
.........................\Doc.cpp
.........................\Doc.h
.........................\HyprLink.h
.........................\MainFrm.cpp
.........................\MainFrm.h
.........................\makefile
.........................\RES\app.ico
.........................\...\app.rc2
.........................\...\tb.bmp
.........................\...\tb256.bmp
.........................\...\toolbar.bmp
.........................\...\VCKBASE.bmp
.........................\resource.h
.........................\StatLink.cpp
.........................\StatLink.h
.........................\StdAfx.cpp
.........................\StdAfx.h
.........................\TBColor.aps
.........................\TBColor.cpp
.........................\TBColor.dep
.........................\TBColor.dsp
.........................\TBColor.dsw
.........................\TBColor.mak
.........................\TBColor.ncb
.........................\TBColor.opt
.........................\TBColor.plg
.........................\TBColor.rc
.........................\TBColor.sln
.........................\TBColor.suo
.........................\TBColor.vcproj
.........................\TBColor.vcproj.PC-201009272316.Administrator.user
.........................\TBColor.zip
.........................\View.cpp
.........................\View.h
.........................\Debug
.........................\RES
如何让工具条显示256色图像
.........................\.....\Doc.obj
.........................\.....\Doc.sbr
.........................\.....\MainFrm.obj
.........................\.....\MainFrm.sbr
.........................\.....\StatLink.sbr
.........................\.....\StdAfx.obj
.........................\.....\StdAfx.sbr
.........................\.....\TBColor.bsc
.........................\.....\TBColor.exe.embed.manifest
.........................\.....\TBColor.obj
.........................\.....\TBColor.pch
.........................\.....\TBColor.sbr
.........................\.....\vc80.idb
.........................\.....\vc80.pdb
.........................\.....\View.obj
.........................\.....\View.sbr
.........................\Doc.cpp
.........................\Doc.h
.........................\HyprLink.h
.........................\MainFrm.cpp
.........................\MainFrm.h
.........................\makefile
.........................\RES\app.ico
.........................\...\app.rc2
.........................\...\tb.bmp
.........................\...\tb256.bmp
.........................\...\toolbar.bmp
.........................\...\VCKBASE.bmp
.........................\resource.h
.........................\StatLink.cpp
.........................\StatLink.h
.........................\StdAfx.cpp
.........................\StdAfx.h
.........................\TBColor.aps
.........................\TBColor.cpp
.........................\TBColor.dep
.........................\TBColor.dsp
.........................\TBColor.dsw
.........................\TBColor.mak
.........................\TBColor.ncb
.........................\TBColor.opt
.........................\TBColor.plg
.........................\TBColor.rc
.........................\TBColor.sln
.........................\TBColor.suo
.........................\TBColor.vcproj
.........................\TBColor.vcproj.PC-201009272316.Administrator.user
.........................\TBColor.zip
.........................\View.cpp
.........................\View.h
.........................\Debug
.........................\RES
如何让工具条显示256色图像