Windows任务栏API [英] Windows Taskbar API

查看:605
本文介绍了Windows任务栏API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有允许控制哪些图标显示在Windows(7)任务栏在给定时间任何API?我想有仍在运行的进程,但它们的图标没有任务栏上显示出来。

Is there any API that allows to control which icons are shown in the Windows (7) Taskbar at a given time? I would like to have the processes still running, but their icons not show up on the taskbar.

推荐答案

见的函数CreateWindowEx ,并找出哪一种适合您的需求。 (他们中的许多处理任务栏上的项目,它不只是一个。)然后,只需设置风格 SetWindowLong函数

See the various extended window styles in CreateWindowEx, and figure out which one suits your needs. (Many of them deal with taskbar items, it's not just one.) Then just set the style with SetWindowLong.

还有 ITaskbarList :: DeleteTab ,但我的真的不推荐这种隐藏你的窗口。

There's also ITaskbarList::DeleteTab, but I really don't recommend this for hiding your window.

这篇关于Windows任务栏API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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