更改与文件类型关联的图标 [英] Changing the icon associated with a file type

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

问题描述



我有一个与文件类型关联的图标.这只是我的应用程序使用的数据文件.

与我的数据文件关联的图标看起来太小,例如16 x 16,因此很小,带有白色边框,几乎无法查看.我需要更改图标以显示与我的应用程序相同的图标.

我已经编辑了所有图标以删除16x16元素,但是绘制的图标仍然很小.

有什么想法可以指定我的数据文件应显示哪个图标?

我正在使用VS2003.

TIA

Tony

Hi,

I have an icon which is associated with a file type. It''s just a data file used expilicitly by my application.

The icon associated with my data file appears too small, e.g. 16 x 16 and so is small with a white border making it almost impossible to view. I need to change the icon to display the same icon used by my application.

I have already editted all of my icons to remove the 16x16 element, but still the icon drawn is small.

Any ideas how I can specify which icon my data file should display?

I''m using VS2003.

TIA

Tony

推荐答案

尝试 IShellLink::SetIconLocation() [ ^ ]函数.


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

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