任务管理器边框不见了的程序最小化不见了怎么弄回来

怎么让一个已经运行的外部程序最小化到托盘,或者隐藏掉_imooo软件程序bug解决方案
怎么让一个已经运行的外部程序最小化到托盘,或者隐藏掉
如何让一个已经运行的外部程序最小化到托盘,或者隐藏掉如何让一个已经运行的外部程序最小化到托盘——40分
如何让一个已经运行的外部程序隐藏掉(不在屏幕上,托盘,任务栏,进程中显示)——60分
注意:是 & “已经运行” & 的 & “外部程序 & ”
以前没做过WINDOWS开发,所以不知道怎么实现,请教各位达人,谢谢------解决方案--------------------有意思,可能要使用API对那个外部程序操作了。
------解决方案--------------------估计得调用 windows api 去做了
------解决方案--------------------你去查一下:FindWindow、SetWindowPos、SendMessage这几个API函数,就知道该怎么做了!
------解决方案--------------------太难了,谁能把一个IE窗口 最小化到托盘,别告诉我IE不是外部程序
我的天啊,这都啥需求啊
------解决方案--------------------hwnd h=findwindow(nil,pchar( &窗口标题 &));
sendmessage(h,wm_hide,0,);
------解决方案--------------------隐藏程序,但会在任务管理器中看到
------解决方案--------------------LS的是Delphi的代码!
------解决方案--------------------隐藏进程?不会,隐藏图标?还是不会。
------解决方案--------------------其实只是我不会而已,因为我不知道如何把不具备托盘功能的程序,缩到托盘
不在屏幕上,任务栏//这个其实很简单,用ShowWindow这个API就可以了(msdn写的很详细)
至于脱离进程 我就不会了,因为加载到进程的东西,除非停止是出不去的
除非不叫看任务管理器(呵呵),最通常的方式是以非进程的方式启动(黑客技术的一种)
//知识有限,见谅
------解决方案--------------------最小化还容易
最小化到托盘就有点困难了
毕竟那个外部程序本身就没有最小化到托盘的
你只能在你的程序中弄个管理托盘图标的模块
当隐藏外部程序时,创建托盘图标(这个图标如果想对应外部程序还得另处理)
当用户点击托盘图标时,响应事件,把外部程序show出来
只能给点思路, 代码不是一两句就可以说清楚的
------解决方案--------------------可以试试,自己写托盘,然后把外部程序窗口隐藏掉,
------解决方案--------------------关注,帮顶了
------解决方案--------------------学习
------解决方案--------------------Mark
------解决方案--------------------路过,顶一下
------解决方案--------------------接分!!!!!!!!!!
------解决方案--------------------外部已经运行的程序???只能UP了
------解决方案--------------------oo
------解决方案--------------------想学习~~~
------解决方案--------------------WinForm窗口最小化到系统托盘
C#编写最小化时隐藏为任务栏图标的Window appllication.
1.设置WinForm窗体属性showinTask=false
2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。
3.添加窗体最小化事件(首先需要添加事件引用):
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
//上面一行是主窗体InitializeComponent()方法中需要添加的引用
private void Form1_SizeChanged(object sender, EventArgs e)
if (this.WindowState==FormWindowState.Minimized)
this.Hide();
this.notifyIcon1.Visible=
4.添加点击图标事件(首先需要添加事件引用):
private void notifyIcon1_Click(object sender, EventArgs e)
this.Visible =
this.WindowState = FormWindowState.N
this.notifyIcon1.Visible =
5.可以给notifyIcon添加右键菜单:
主窗体中拖入一个ContextMenu控件NicontextMenu
,点中控件,在上下文菜单中添加菜单,notifyIcon1的ContextMenu行为中选中NicontextMenu
作为上下文菜单。
this.notifyIcon1=
System.Windows.Forms.ponents);
this.NicontextMenu
System.Windows.Forms.ContextMenu();
this.menuItem_Hide
System.Windows.Forms.MenuItem();
this.menuItem_Show
System.Windows.Forms.MenuItem();
this.menuItem_Aubot
System.Windows.Forms.MenuItem();
this.menuItem_Exit
System.Windows.Forms.MenuItem();
this.notifyIcon1.ContextMenu
this.NicontextM
this.notifyIcon1.Icon
((System.Drawing.Icon)(resources.GetObject( &NotifyIcon.Icon &)));
this.notifyIcon1.Text
this.notifyIcon1.Visible
this.notifyIcon1.DoubleClick
System.EventHandler(this.notifyIcon1_DoubleClick);
this.notifyIcon1.Click
System.EventHandler(this.notifyIcon1_Click);
this.NicontextMenu.MenuItems.AddRange(new
System.Windows.Forms.MenuItem[]
this.menuItem_Hide,
this.menuItem_Show,
this.menuItem_Aubot,
this.menuItem_Exit});
menuItem_Hide
this.menuItem_Hide.Index
this.menuItem_Hide.Text
this.menuItem_Hide.Click
System.EventHandler(this.menuItem_Hide_Click);
menuItem_Show
this.menuItem_Show.Index
this.menuItem_Show.Text
this.menuItem_Show.Click
System.EventHandler(this.menuItem_Show_Click);
menuItem_Aubot
this.menuItem_Aubot.Index
this.menuItem_Aubot.Text
this.menuItem_Aubot.Click
System.EventHandler(this.menuItem_Aubot_Click);
menuItem_Exit
this.menuItem_Exit.Index
this.menuItem_Exit.Text
this.menuItem_Exit.Click
System.EventHandler(this.menuItem_Exit_Click);
OnClosing(CancelEventArgs
this.ShowInTaskbar
this.WindowState
FormWindowState.M
OnClosing(CancelEventArgs
//this.ShowInTaskbar
this.WindowState
FormWindowState.M
CloseCtiServer()
timer.Enabled
DJ160API.DisableCard();
this.NotifyIcon.Visible
this.Close();
this.Dispose();
Application.Exit();
HideCtiServer()
this.Hide();
ShowCtiServer()
this.Show();
this.WindowState
FormWindowState.N
this.Activate();
CtiManiForm_Closing(object
ponentModel.CancelEventArgs
this.CloseCtiServer();
menuItem_Show_Click(object
System.EventArgs
this.ShowCtiServer();
menuItem_Aubot_Click(object
System.EventArgs
menuItem_Exit_Click(object
System.EventArgs
this.CloseCtiServer();
menuItem_Hide_Click(object
System.EventArgs
this.HideCtiServer();
CtiManiForm_SizeChanged(object
System.EventArgs
(this.WindowState
FormWindowState.Minimized)
this.HideCtiServer();
notifyIcon1_DoubleClick(object
System.EventArgs
this.ShowCtiServer();
------解决方案--------------------OOMark
------解决方案--------------------jrl5365(king007) 正解!
------解决方案--------------------WinForm窗口最小化到系统托盘
C#编写最小化时隐藏为任务栏图标的Window appllication.
1.设置WinForm窗体属性showinTask=false
2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。
3.添加窗体最小化事件(首先需要添加事件引用):
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
//上面一行是主窗体InitializeComponent()方法中需要添加的引用
private void Form1_SizeChanged(object sender, EventArgs e)
if (this.WindowState==FormWindowState.Minimized)
this.Hide();
this.notifyIcon1.Visible=
4.添加点击图标事件(首先需要添加事件引用):
private void notifyIcon1_Click(object sender, EventArgs e)
this.Visible =
this.WindowState = FormWindowState.N
this.notifyIcon1.Visible =
5.可以给notifyIcon添加右键菜单:
主窗体中拖入一个ContextMenu控件NicontextMenu
,点中控件,在上下文菜单中添加菜单,notifyIcon1的ContextMenu行为中选中NicontextMenu
作为上下文菜单。
this.notifyIcon1=
System.Windows.Forms.ponents);
this.NicontextMenu
System.Windows.Forms.ContextMenu();
this.menuItem_Hide
System.Windows.Forms.MenuItem();
this.menuItem_Show
System.Windows.Forms.MenuItem();
this.menuItem_Aubot
System.Windows.Forms.MenuItem();
this.menuItem_Exit
System.Windows.Forms.MenuItem();
this.notifyIcon1.ContextMenu
this.NicontextM
this.notifyIcon1.Icon
((System.Drawing.Icon)(resources.GetObject( &NotifyIcon.Icon &)));
this.notifyIcon1.Text
this.notifyIcon1.Visible
this.notifyIcon1.DoubleClick
System.EventHandler(this.notifyIcon1_DoubleClick);
this.notifyIcon1.Click
System.EventHandler(this.notifyIcon1_Click);
this.NicontextMenu.MenuItems.AddRange(new
System.Windows.Forms.MenuItem[]
this.menuItem_Hide,
this.menuItem_Show,
this.menuItem_Aubot,
this.menuItem_Exit});
menuItem_Hide
this.menuItem_Hide.Index
this.menuItem_Hide.Text
this.menuItem_Hide.Click
System.EventHandler(this.menuItem_Hide_Click);
menuItem_Show
this.menuItem_Show.Index
this.menuItem_Show.Text
this.menuItem_Show.Click
System.EventHandler(this.menuItem_Show_Click);
menuItem_Aubot
this.menuItem_Aubot.Index
this.menuItem_Aubot.Text
this.menuItem_Aubot.Click
System.EventHandler(this.menuItem_Aubot_Click);
menuItem_Exit
this.menuItem_Exit.Index
this.menuItem_Exit.Text
this.menuItem_Exit.Click
System.EventHandler(this.menuItem_Exit_Click);
OnClosing(CancelEventArgs
this.ShowInTaskbar
this.WindowState
FormWindowState.M
OnClosing(CancelEventArgs
//this.ShowInTaskbar
this.WindowState
FormWindowState.M
CloseCtiServer()
timer.Enabled
DJ160API.DisableCard();
this.NotifyIcon.Visible
this.Close();
this.Dispose();
Application.Exit();
HideCtiServer()
this.Hide();
ShowCtiServer()
this.Show();
this.WindowState
FormWindowState.N
this.Activate();
CtiManiForm_Closing(object
ponentModel.CancelEventArgs
this.CloseCtiServer();
menuItem_Show_Click(object
System.EventArgs
this.ShowCtiServer();
menuItem_Aubot_Click(object
System.EventArgs
menuItem_Exit_Click(object
System.EventArgs
this.CloseCtiServer();
menuItem_Hide_Click(object
System.EventArgs
this.HideCtiServer();
CtiManiForm_SizeChanged(object
System.EventArgs
(this.WindowState
FormWindowState.Minimized)
this.HideCtiServer();
notifyIcon1_DoubleClick(object
System.EventArgs
this.ShowCtiServer();
------解决方案--------------------路过 ,不懂
------解决方案--------------------LZ是想隐藏程序是吧,直接用工具吧 PS Tray Factory
用程序是肯定能实现的,不过我不知道:)
------解决方案--------------------学习
- 嫩花萼 - 雪脂蜂蜜 - 紫夕 - 啦米朵儿 - 流氓女 - 跳过的幸福 - 不予 - 傾柔 - 江忆梦66 - 疯子杰 - 涅槃灰 - 纳兰鸿飞 - 逝水如梦 - 绿水人家绕 - 只为你温柔开机自动启动任务管理器并以最小化的形式出现在任务栏中
作为一名成长中的网络工程师,经常需要用GNS3等模拟器做一些实验,而CPU的使用率是我们常关注的问题,有的会选择打开任务管理器查看,也有的会选择安装金山卫士之类的软件来查看,但是从节省系统资源的角度考虑还是看任务管理器比较好,因为它是开机自动启动的,并且在系统运行过程中一直运行,下面我就介绍一种开机自动启动任务管理器并以最小化的形式出现在任务栏中的设置方法:
首先是对任务管理器的设置:
1、右键单击任务栏,打开任务管理器
2、在任务管理器的选项菜单下选择最小化时隐藏
&&&&对任务管理器打开以最小化形式显示的设置:
1、在C:\Windows\System32\taskmgr.exe下找见任务管理器的可执行文件
2、右键单击将其发送到桌面快件方式
&&&&&&&&3、右键单击属性,选择快捷方式下的运行方式为最小化
对开机自动启动的设置:
1、在开始菜单的所有程序里面找见“启动”并打开
2、将任务管理器的可执行文件直接拖进去即可
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。您的举报已经提交成功,我们将尽快处理,谢谢!
任务管理器,找到那个程序的名称
有CTRL+DEL先关毕再开看看,是不是你有什么没有设置对,或是你那个软件本身就不行。
大家还关注
(window.slotbydup=window.slotbydup || []).push({
id: '2081942',
container: s,
size: '1000,60',
display: 'inlay-fix'

我要回帖

更多关于 任务管理器菜单不见了 的文章

 

随机推荐