如何隐藏/显示Windows 8的任务栏,通过.NET任何显示器上? [英] How to hide/show the Windows 8 taskbar on any monitor through .NET?

查看:134
本文介绍了如何隐藏/显示Windows 8的任务栏,通过.NET任何显示器上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个个人的应用程序,可以让我隐藏和显示Windows任务栏。它通过拨打电话到user32.dll中做到了这一点:

I have a personal application that allows me to hide and show the Taskbar in Windows. It achieved this by making calls into user32.dll:

ShowWindow(int hwnd, int command)

文档资料该API可以找到的这里

这个问题我已经是很明显的任务栏已经改变了一点在Windows 8,因为它现在可以在所有显示器延伸。

The issue I have is that obviously the taskbar has changed a bit in Windows 8 as it now extends across all your monitors.

有谁知道是否有可能在Windows 8中隐藏和显示任务栏(与$ C $只有c)在单独的屏幕,如果是这样,怎么样?

Does anyone know if it is possible in Windows 8 to hide and show the taskbar (with code only) on individual screens and if so, how?

推荐答案

寻找了很长一段时间,这之后,我决定写我自己的。

After searching around for a long time for this, I decided to write my own.

我已经上传到的NuGet。它可以在这里找到:

I have uploaded it to Nuget. It can be found here:

http://nuget.org/packages/BasicWindowsTaskbarManager

我怀疑它是世界上最稳定的库,但如果你确实有问题,只是让我知道,我会看看我能做些什么。

I doubt it's the most stable library in the world, but if you do have issues, just let me know and I'll see what I can do.

这篇关于如何隐藏/显示Windows 8的任务栏,通过.NET任何显示器上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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