如何用另一个文件图标更改文件图标 [英] how to change a file icon with another file icon

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

问题描述

大家好...
我有一个文件图标.我想根据用户选择的文件更改该文件图标.
怎么样?
如果有人知道,请告诉我.由默认程序决定打开该文件类型.如果您的程序不是默认程序,则不会影响文件图标.
这里有代码可以满足您的需求: http://mel-green. com/2009/04/c-set-file-type-association/ [ 解决方案

If you are talking about replacing a file icon in explorer with a different one, then be aware that the icon displayed is decided by the default program to open that file type. If your program is not the default, then you cannot affect the file icon.
There is code here which should do what you need:
http://mel-green.com/2009/04/c-set-file-type-association/[^]


这篇关于如何用另一个文件图标更改文件图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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