Windows 7:自定义关机菜单项 [英] Windows 7: Custom Shutdown Menu Item

查看:95
本文介绍了Windows 7:自定义关机菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将自定义选项添加到Windows 7(可能还有Vista)关机上下文"菜单中?这样,当我单击开始"菜单中其他关闭选项的箭头时,便有了"Hello World!".作为一种选择.当然,我希望能够在单击程序时从程序中进行检测.我希望使用VB.Net或C#的答案,但我意识到,如果可能,可能需要C ++.我当时想做像Boot Snooze或iReboot这样的事情很酷,但要完全集成.我想知道这是否可行,但那真是太酷了.

Is there any way to add a custom option to the Windows 7 (and possibly Vista) Shutdown Context menus? So that when I click the arrow for additional shutdown options in the Start Menu, I have "Hello World!" as an option. Of course I would like to be able to detect from a program when it is clicked. I would prefer answers in VB.Net or C#, but I realize that, if it is possible, it may require C++. I was thinking it would be pretty cool to do something like Boot Snooze or iReboot, but fully integrated. I would understand if it is not possible, but it would be pretty stinking cool.

推荐答案

一个简单的Google搜索就能找到 ^ ].
Well a simple Google search finds lots of suggestions[^].


发布问题时的一些简单规则.
A few simple rules when posting your question.

  1. 您是否已搜索或搜索过解决方案?
  2. 要具体!不要问我需要写预订申请书".确切指定您需要帮助的内容.
  3. 使主题简短但具有描述性.例如如何更改对话框的颜色?"
  4. 使问题尽可能简洁.如果您必须包含代码,则请包含最小的代码片段-不要转储整个代码库.
  5. 适当地标记问题.
  6. 您的问题可能会被编辑或重新标记其他.任何不适当的内容都将被删除.
  7. 如果您有学校或大学的作业,请假设您的老师或讲师也在阅读这些论坛.
  8. 要有礼貌,不要大喊大叫.这里的每个人都可以提供帮助,因为他们喜欢帮助别人,而不是因为这是他们的工作.
  9. 如果别人回答了,请勿删除或清空邮件.保持线程完整无缺,供其他人搜索和阅读.
  10. 请勿辱骂,冒犯,不当,骚扰董事会中的任何人或张贴广告或垃圾邮件.这样做会使您开始被禁止.玩的开心.

  1. Have you searched or Googled for a solution?
  2. Be specific! Don''t ask "I need to write a booking application". Specify exactly what it is you need help with.
  3. Keep the subject brief but descriptive. eg "How do I change the dialog colour?"
  4. Keep the question as concise as possible. If you have to include code, include the smallest snippet of code you can - do not dump your entire codebase.
  5. Tag your question appropriately.
  6. Your question may be edited or retagged by others. Anything inappropriate will be removed.
  7. If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
  8. Be courteous and DON''T SHOUT. Everyone here helps because they enjoy helping others, not because it''s their job.
  9. Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read.
  10. Do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will get you kicked off and banned. Play nice.


这篇关于Windows 7:自定义关机菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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