Message Box and Balloon Pop-Up Interception
如每次在插入新的硬體時,都會出現以下新增硬體精靈視窗,要如何將新增硬體精靈視窗關閉?如何在之後插入新硬體時,不會跳出此視窗,這時我們需使用Message Box and Balloon Pop-Up Interception。
可以參考以下的三種作法。
方法一:
Suppressing Balloon Pop-Ups (Windows Embedded Standard 2009)
Balloon pop-ups typically appear when new
programs and hardware are installed, when disk space becomes limited,
and when tools such as .NET Messenger are included in a run-time image. If you
do not want balloon pop-ups to appear in your run-time image, you can prevent
them either by changing the settings of the User Interface Core component, or
by setting values in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
registry key.
By setting registry values, you can choose which balloon pop-ups to
suppress. You can prevent all balloon pop-ups appearing by disabling the EnableBalloonTips
registry value. You can prevent just the "New programs installed"
balloon pop-ups appearing by disabling the Start_NotifyNewApps registry.
These registry values are not included by default in most run-time images and
must be added.