跳转列表图标不随应用程序图标更新 [英] Jump list icon doesn't update with application icon

查看:72
本文介绍了跳转列表图标不随应用程序图标更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在其属性中更新了应用程序的图标,则在任务栏中右键单击该应用程序时,菜单上会链接到该应用程序,但带有旧图标.

If I update my application's icon in its properties, when I right-click the application in the taskbar, the menu has a link to the application but with the old icon.

浏览%localappdata%/IconCache.db并重新启动PC似乎可以对其进行更新,但是我真的不希望在客户端计算机上这样做.

Nuking %localappdata%/IconCache.db and restarting the PC seemed to update it, but I don't really want to be doing that on client machines.

是否有更简便的方法以编程方式执行此操作(SHChangeNotify?).

Is there an easier way to do this programatically (SHChangeNotify?).

谢谢.

推荐答案

您好

Hi RickySpanish23,

欢迎来到MSDN论坛.

Welcome to MSDN forum.

我不确定您的项目类型是什么?它与UWP或wpf项目有关吗?

I am not sure what type of your project? It is related to UWP or wpf project?

如果您的语法或代码有误,我会尽力为您提供解决方案.   Visual C#论坛讨论并询问有关C#编程语言,IDE,库,示例和工具的问题.

If your have some grammar or code error, I will try our best to give your solution.  The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

希望您能给我们更多有关您的问题的信息.

I hope you can give us more information about your issue.

您的理解与合作将不胜感激.

Your understanding and cooperation will be grateful.

最好的问候,

Hart


这篇关于跳转列表图标不随应用程序图标更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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