UWP App或WPF应用程序可以检测哪个“任务视图”用户是最新的吗? [英] Can UWP App or WPF app detect which "Task View" the user is current in?

查看:60
本文介绍了UWP App或WPF应用程序可以检测哪个“任务视图”用户是最新的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UWP App或WPF应用可以检测哪个"任务视图" (又名。桌面1,桌面2 ..等)用户是最新的?

Can UWP App or WPF app detect which "Task View" (aka. Desktop 1, Desktop 2.. etc) the user is current in?

我有兴趣制作一个跟踪我在每个桌面使用情况的个人应用程序。

I am interested in making a personal app that tracks my usage in each Desktop.

提前致谢。 

Thanks in advance. 

DYY

推荐答案

我还没有研究过任务视图的实现Windows 10,但我认为它依赖于会话的标准功能,有多个
桌面。获取此信息只需要获取当前用户的桌面。 
I haven't looked into the implementation of task view in Windows 10 but I assume it is relying on the standard ability for a session to have multiple desktops. Getting this information just requires that you get the current user's desktop. 


这篇关于UWP App或WPF应用程序可以检测哪个“任务视图”用户是最新的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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