获取特定窗口的 ITaskbarList3 数据 [英] Get ITaskbarList3 data of specific window

查看:26
本文介绍了获取特定窗口的 ITaskbarList3 数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ITaskbarList3 接口仅提供设置方法.有没有办法获取特定任务栏条目的信息(如标签的 HWND 列表)?

ITaskbarList3 interface provides only setter methods. Is there a way to get the information (like HWND list of the tabs) for a specific taskbar entry?

推荐答案

不,通过任务栏 API 是不可能的.该系统的设计意图是您只能处理您拥有的任务栏按钮.在这种情况下,不需要 getter,因为如果需要,您可以自己记住上次传递给 setter 的值.

No that's not possible through the taskbar API. The system has been designed with the intention that you'll only work on taskbar buttons that you own. In which case there's no need for getters since you can remember for yourself what value you last passed to a setter, should you need to.

这篇关于获取特定窗口的 ITaskbarList3 数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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