Windows任务栏中没有正在运行的进程 [英] No running process in windows taskbar

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

问题描述

我要实现的是我有一个Windows应用程序.
我希望程序运行时,它在Windows任务栏上不可见. N图标可以出现在系统任务栏中,但不能出现在任务栏中.
此实现的示例是一个名为Stickies的小型实用程序.它是通常用于做笔记的桌面应用程序.它始终在后台运行.注释会一直显示在屏幕上,但是该过程不会显示在任务栏上.
我该如何实现.
谢谢....

What i want to achieve is that i have a windows application.
I want that when the program is running it should not be visible on the windows taskbar. N icon can come up in the system tray but not in taskbar.
An example of this implementation is a small utility called Stickies. Its a desktop app generally used for taking notes. It is always running in background. The notes show up on the screen all the time but the process isnt shown on the taskbar.
How can i achieve this.
Thanks....

推荐答案

当然,这很重要.这是在每个窗口的基础上完成的.

对于System.Windows.Forms,请使用System.Windows.Forms.Form.ShowInTaskbar(将此实例属性分配给false).

对于WPF,请使用System.Windows.Window.ShowInTaskbar(相同的内容).

—SA
Sure, it''s important to do. This is done on per-window basis.

For System.Windows.Forms use System.Windows.Forms.Form.ShowInTaskbar (assign this instance property to false).

For WPF, use System.Windows.Window.ShowInTaskbar (same thing).

—SA


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

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