如何在shell扩展中使用图标或png文件 [英] How to use icon or png file in shell extension

查看:268
本文介绍了如何在shell扩展中使用图标或png文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为外壳扩展(Windows Shell菜单)设置图标,但是接缝仅接受位图文件.在这种情况下如何加载图标或PNG.

我尝试过的事情:

现在,我加载位图文件并使用一些功能使其透明.

I want to set icon for shell extension (windows shell menu), but seams it only accepts bitmap files. how can I Load icon or PNG in this case.

What I have tried:

Right now I Load bitmap files and use some function to make it transparent.

推荐答案

您可以执行以下两项操作:一是在此站点上搜索"shell"扩展",您将看到大量关于该主题的文章.另一个方法是使用像CxImage这样的图像处理库来执行此操作,您可以在此站点上找到它.
There are two things you can pursue : one is to search on this site for "shell extension" and you will see a large number of articles written on the topic. Another is to use an image handling library like CxImage to do this which you can find on this site.


这篇关于如何在shell扩展中使用图标或png文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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