{"id":18363,"date":"2009-05-04T10:00:00","date_gmt":"2009-05-04T10:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2009\/05\/04\/the-dummy-icon-that-doesnt-know-that-its-fifteen-seconds-are-over\/"},"modified":"2009-05-04T10:00:00","modified_gmt":"2009-05-04T10:00:00","slug":"the-dummy-icon-that-doesnt-know-that-its-fifteen-seconds-are-over","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20090504-00\/?p=18363","title":{"rendered":"The dummy icon that doesn&#8217;t know that its fifteen seconds are over"},"content":{"rendered":"<p>Commenter Myron A. Semack asks via the Suggestion Box <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/pages\/407234.aspx#555534\"> why there is a hardware notification icon that doesn&#8217;t do anything<\/a>. This is the notification icon that is left behind if you dismiss the hardware notification balloon.<\/p>\n<p> I don&#8217;t know, but I can figure it out based on information both you and I already know. <\/p>\n<p> First of all, notice that <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/bb762159(VS.85).aspx\"> the only way to show a notification balloon is to associate it with a notification icon<\/a>. After all, the tip of the balloon has to point to <i>something<\/i>. Therefore, it&#8217;s not surprising that when the balloon shows up, a notification icon also appears. You can&#8217;t display &#8220;just a balloon&#8221;; you have to attach the balloon to a notification icon, and if you don&#8217;t have a notification icon, you&#8217;ll just have to create a dummy icon to attach it to. <\/p>\n<p> Second, you already know that <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2003\/10\/14\/55287.aspx\"> taskbar notification icons are not told when the user clicks the &times; to dismiss the balloon<\/a>. If you dismiss the balloon with an &times;, the dummy notification icon still hangs around because <i>it doesn&#8217;t know that it&#8217;s just standing around for no reason<\/i>. <\/p>\n<p> When you dismiss the balloon, you just leave the dummy icon behind, and the dummy icon is pretty dumb. <\/p>\n<p> You see this dummy icon in other places. For example, if there is a delayed-write failure or if the system needs to grow your pagefile, a balloon appears to let you know about the situation. These balloons are really error messages from the kernel, but repackaged to be less annoying. If you&#8217;ve used earlier versions of Windows&nbsp;NT, you&#8217;ll remember that these messages used to be in-your-face pop-up message boxes. The kernel folks agreed to add an option (on by default) to auto-convert annoying pop-up message boxes to balloons. But all message boxes can do is show some text and collect a response. They don&#8217;t have a customizable right-click context menu or a tooltip, so there&#8217;s nothing to attach to those behaviors when they are auto-converted to a balloon. <\/p>\n<p> I guess clicking on the dummy icon could redisplay the balloon. That would at least make it slightly less dumb. <\/p>\n<p> <b>Update<\/b>: Commenter John points out <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2009\/05\/04\/9585032.aspx#9587065\"> that my memory of how balloons are dismissed is incorrect<\/a>, once again demonstrating that this Web site is for entertainment purposes only. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Commenter Myron A. Semack asks via the Suggestion Box why there is a hardware notification icon that doesn&#8217;t do anything. This is the notification icon that is left behind if you dismiss the hardware notification balloon. I don&#8217;t know, but I can figure it out based on information both you and I already know. First [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-18363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>Commenter Myron A. Semack asks via the Suggestion Box why there is a hardware notification icon that doesn&#8217;t do anything. This is the notification icon that is left behind if you dismiss the hardware notification balloon. I don&#8217;t know, but I can figure it out based on information both you and I already know. First [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/18363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=18363"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/18363\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=18363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=18363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=18363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}