如何创建桌面图标? [英] How can I create a desktop icon?

查看:108
本文介绍了如何创建桌面图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为AutoCAD编写了一个应用程序。我想用可执行文件,目标路径,一些选项创建一个自己的桌面图标。

我该怎么办?



我尝试了什么:



我试图找到一个我正在使用的类或对象。

我没找到它。

I program an application for AutoCAD. I want to create a own desktop icon with the executable file, the target path, some options.
How can I do it?

What I have tried:

I tried to find a class or an object that I an use.
I didn't found it.

推荐答案

引用:

我试图找到我使用的一个类或一个对象。

我没找到它。

I tried to find a class or an object that I an use.
I didn't found it.

你没找到,因为它不能那样工作。



应用程序的图标是外部资源(文件),它只是在构建应用程序时链接。

图标位于.ico文件中。有很多图标编辑器可用。

它在资源文件.rc中声明。详细信息因编译器而异。



在资源编辑器的帮助下构建应用程序后,也可以添加图标。

You didn't found because it don't work like that.

The icon of an app is an external resource (a file) that is just linked as you build the app.
The icon is in a .ico file. There is plenty of icon editors available.
It is declared in the resource file .rc. Details vary with compilers.

The icon can also be added after the app is build with the help of resource editors.


这篇关于如何创建桌面图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆