[英]showing the autohiding windows taskbar
I have defined the windows taskbar as auto-hiding. 我已经将Windows任务栏定义为自动隐藏。 Now I am showing for a way to show the taskbar from C#-code.
现在,我展示一种从C#代码显示任务栏的方法。 Can somebody help me perhaps with a little code-snipped?
有人可以帮我一点点代码吗?
The taskbar in an AppBar. AppBar中的任务栏。 Which can be controlled using the SHAppBarMessage API.
可以使用SHAppBarMessage API进行控制。
Here is a separate article on AppBar's which can help you better understand how to use the API: http://www.codeproject.com/Articles/3728/C-does-Shell-Part-3 这是有关AppBar的另一篇文章,可以帮助您更好地了解如何使用API: http : //www.codeproject.com/Articles/3728/C-does-Shell-Part-3
Edit: If you need to find the handle for the Taskbar itself, you can use the FindWindow method. 编辑:如果您需要查找任务栏本身的句柄,则可以使用FindWindow方法。 The taskbar is named "
Shell_traywnd
" 任务栏名为“
Shell_traywnd
”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.