[UWP]有没有办法在win 10上从任务栏中删除UWP应用程序? [英] [UWP]Is there a way to remove UWP apps from taskbar on win 10?

查看:379
本文介绍了[UWP]有没有办法在win 10上从任务栏中删除UWP应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道是否有办法从任务栏中删除UWP,通常如果你使用任务栏界面就可以通过发送正确的HWND来删除,但是当UWP没有发生时,我也尝试过发送所有的孩子enum hwnd,但仍然没有运气,
我需要动态,现在我得到正在运行的进程,如果他们满足某些标准我需要隐藏它们,但当我尝试删除存储或不起作用的Xbox,边缘也一样,请帮助我!!! zh

解决方案

Hello Danny,


据我所知目前不支持。


1。 UWP默认API不支持此功能。 UWP托管在应用容器中,某些操作受到限制。例如,某些系统设置受到限制,我们只能在UWP应用程序中为客户提供设置页面。我认为更改桌面任务栏
与设置相同。


2。 UWP与经典桌面不同,经典API可能无法在UWP平台上运行。这里写了一些支持的API:


https: //msdn.microsoft.com/en-us/library/windows/apps/mt592904.aspx


这意味着UWP平台并不支持所有经典的Win32 API。


祝你好运,


Barry


Hi, do you know if there is a way to remove a UWP from taskbar, usually if you use the taskbar interface you are able to remove just by sending the right HWND, but with UWP is not happening, I also tried to send all the child enum hwnd but still no luck, I need to do it dynamic, right now I get the processes that are running and if they meet certain criterias I need to hide them, but when I try to remove the Store or the Xbox that doesn't work, same happens with edge, please help me on this!!!

解决方案

Hello Danny,

As far as I know this is not currently supported.

1. UWP default API does not support this. UWP is hosted in app container and some actions are restricted. For example, some system settings are restricted, we can only provide the setting page to our customers in UWP apps. I think change desktop taskbar is the same like settings.

2. UWP is different from classic desktop the classic API may not work in UWP platform. Some supported API are wrote here:

https://msdn.microsoft.com/en-us/library/windows/apps/mt592904.aspx

Which means not all classic Win32 API are supported in UWP platform.

Best regards,

Barry


这篇关于[UWP]有没有办法在win 10上从任务栏中删除UWP应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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