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 中为我的应用程序设置图标
基础教程推荐
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- CString 到 char* 2021-01-01
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 初始化列表*参数*评估顺序 2021-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
