C# - Disable balloon tips [closed]

不想你离开。 提交于 2019-12-25 18:34:57

问题


I would like to create an application which disables balloon tips in my system by editing the registry (there is another way?). But I want that it would be take place immediatly and without restart/log off.

Thank you!


回答1:


You have to set the value of EnableBalloonTips in the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced to 0. You can use the RegistryKey class for that.

Then you can use a method to exit Windows Explorer and start Windows Explorer again using Process.Start.

However you should ask for user's permission before you restart Windows Explorer.



来源:https://stackoverflow.com/questions/7702698/c-sharp-disable-balloon-tips

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!