在Windows 7小工具上禁用“x” [英] Disable 'x' on a Windows 7 Gadget

查看:117
本文介绍了在Windows 7小工具上禁用“x”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


所以我开发了一个小工具,其中包含对我们的用户很重要的通知和信息。  唯一的问题是我们希望始终保持这些小工具,而不是让用户关闭它们。  我看到了几个方法
可以做到这一点,但我不知道是否有可能。  如果我可以执行以下任何操作,请告知我们:

So I've developed a gadget that populates itself with notifications and information that is important to our users.  The only problem is we want to keep these gadgets up at all times and not let the users close them.  I see a few ways that this could be done, but I don't know if any of them are possible.  Please let me know if I could do any of the following:

1)完全从小工具中删除菜单(红色'x'框,手柄)

1) Remove the menu (red 'x' box, handle) from the gadget entirely

2)使用某种onClosing函数来运行重新打开小工具的外部脚本,以便小工具在关闭时重新打开

2) Use some sort of onClosing function that runs an external script that reopens the gadget so the gadget is just reopened whenever it closes

3)使用命令提示符启动小工具

3) Launch a gadget using the command prompt

感谢任何人都可以提供帮助。

Thanks for any help anyone can provide.

推荐答案

我建​​议您在onload-event中添加System.Gadget.close(),以便用户永远不会看到其他人认为重要的烦人通知和信息。用户。

我认为如果用户想要一些小工具,他就不要关闭它。
I recommend you adding System.Gadget.close() to onload-event so that user will never see annoying notifications and information that someone else thinks important to the user.
I think if user wants some gadget he don't close it.


这篇关于在Windows 7小工具上禁用“x”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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