简体   繁体   English

Universal Windows App中的桌面集成

[英]Desktop Integration in Universal Windows App

Im trying to develop an app for Windows 10 which I hope to submit to the store. 我正在尝试为Windows 10开发一个应用程序,希望将其提交给商店。 I want to get access to the Taskbar APIs so I can set the progress level (green bar behind the process text). 我想访问任务栏API,以便设置进度级别(过程文本后面的绿色栏)。

In Windows 7 I used the some of these APIs: https://msdn.microsoft.com/en-us/library/windows/desktop/dd391692(v=vs.85).aspx 在Windows 7中,我使用了以下一些API: https : //msdn.microsoft.com/zh-cn/library/windows/desktop/dd391692(v=vs.85).aspx

They were wrapped by this handy library which I used in my C# app: http://blogs.microsoft.co.il/sasha/2009/02/12/windows-7-taskbar-apis/ 它们被我在C#应用程序中使用的这个方便的库包装了: http : //blogs.microsoft.co.il/sasha/2009/02/12/windows-7-taskbar-apis/

I cant find the equvilant for UWA Desktop Extension, Any ideas? 我找不到UWA桌面扩展的对等物,有什么想法吗?

Mike 麦克风

Basically the images are comes from the app asserts, see this: Guidelines for app assets Target-based assets session for more information. 图像基本上是来自应用程序的断言,请参阅: 应用程序资产准则 基于目标的资产会话以获取更多信息。 The asserts are the read-only stuff and we cannot programmatically change from the code, which means we cannot create the animation on taskbar. 断言是只读的内容,我们无法以编程方式更改代码,这意味着我们无法在任务栏上创建动画。

The APIs like ITaskbarList3 are not available in Windows Universal App. Windows Universal App中不提供ITaskbarList3之类的API。

Basically base on my understanding, Microsoft wants to use push notification/live tile also badge to deliver the current state like current progress. 基本上基于我的理解,Microsoft希望使用推送通知/实时图块以及徽标来传递当前状态(例如当前进度)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM