嵌入式图标 [英] Embedded Icon

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

问题描述

如何将Icon嵌入到项目中,并使其稍后可被另一个应用程序提取.就像您选择一个exe或DLL来使用其中的图标作为文件夹的图标一样.如何使它可见?

How do I embed an Icon into a project and make it extractable later by another application. Like when you select an exe or DLL to use an icon in that as the icon for a folder. How do I make it visible to that?

推荐答案

尝试以下代码:

http://www.dreamincode.net/code/snippet3236.htm [
Try this code:

http://www.dreamincode.net/code/snippet3236.htm[^]


EDIT ======================

All you have to do to make it extractable is set the main form''s icon property to an icon image. At that point, any program that has the code to do it (like the link I cited earlier) can extract the icon (or any other resource for that matter).


[ ^ ]可能会有所帮助.
This[^] may help.


这篇关于嵌入式图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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