How do I set the icon for my application in visual studio 2008?(如何在 Visual Studio 2008 中为我的应用程序设置图标?)
问题描述
如何在 Visual Studio 2008 中为我的 C++ 应用程序设置可执行图标?
How do I set the executable icon for my C++ application in visual studio 2008?
推荐答案
首先进入资源视图(从菜单:视图 --> 其他窗口 --> 资源视图).然后在资源视图中浏览资源(如果有).如果已有 Visual Studio 添加的 Icon 类型的资源,则打开并编辑它.否则右键单击并选择添加资源,然后添加一个新图标.
First go to Resource View (from menu: View --> Other Window --> Resource View). Then in Resource View navigate through resources, if any. If there is already a resource of Icon type, added by Visual Studio, then open and edit it. Otherwise right-click and select Add Resource, and then add a new icon.
使用嵌入式图像编辑器来编辑现有的或新的图标.请注意,一个图标可以包含多种类型(大小),可从图像菜单中选择.
Use the embedded image editor in order to edit the existing or new icon. Note that an icon can include several types (sizes), selected from Image menu.
然后编译你的项目,看看效果.
Then compile your project and see the effect.
请参阅:http://social.microsoft.com/Forums/en-US/vcgeneral/thread/87614e26-075c-4d5d-a45a-f462c79ab0a0
这篇关于如何在 Visual Studio 2008 中为我的应用程序设置图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Visual Studio 2008 中为我的应用程序设置图标
基础教程推荐
- 这个宏可以转换成函数吗? 2022-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
