{"id":8223,"date":"2012-02-27T07:00:00","date_gmt":"2012-02-27T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2012\/02\/27\/why-was-hds_filterbar-added-to-the-common-controls-if-nobody-uses-it\/"},"modified":"2012-02-27T07:00:00","modified_gmt":"2012-02-27T07:00:00","slug":"why-was-hds_filterbar-added-to-the-common-controls-if-nobody-uses-it","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20120227-00\/?p=8223","title":{"rendered":"Why was HDS_FILTERBAR added to the common controls if nobody uses it?"},"content":{"rendered":"<p>Mike Dunn was curious about <a href=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2010\/07\/20\/10040074.aspx#10040746\"> the intended purpose of <code>HDS_FILTERBAR<\/code><\/a>.\n The <code>HDS_FILTERBAR<\/code> style adds a row below the header control consisting of an edit control and a <a href=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2010\/08\/18\/10051229.aspx\"> funnel<\/a> icon. The funnel icon presumably represents a coffee filter, because after all, everybody in the world drinks coffee as much as people in Seattle. (Developers think they&#8217;re so clever.)\n Mike points out that new features of the common controls were nearly always used by whatever version of Windows or Internet Explorer shipped that new version. The <code>HDS_FILTERBAR<\/code> style is a notable exception. What happened?\n I believe the <code>HDS_FILTERBAR<\/code> feature was originally intended for use by Active Directory; my guess is that dialogs like <i>Find Computer<\/i> would have taken advantage of it. For whatever reason, that feature was cut from Active Directory, which is why you didn&#8217;t see anybody using it. However, the feature was cut after the code for the feature was already written and checked into the common controls under the style <code>HDS_FILTERBAR<\/code>.\n The Active Directory team either forgot to tell the Common Controls team, &#8220;Hey, you know that feature we asked you to write for us? Yeah, we don&#8217;t need it after all,&#8221; or they did, and the Common Controls team said, &#8220;Well, we already wrote it, and we don&#8217;t want to take the risk that removing it won&#8217;t introduce a bug, so we&#8217;ll just leave it in. Maybe somebody else can find a use for it.&#8221;<\/p>\n<p> The result was a feature in the header control that nobody used. And since nobody used it, I wouldn&#8217;t be surprised if it&#8217;s a little buggy. (We already know that it&#8217;s more than little ugly.) <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mike Dunn was curious about the intended purpose of HDS_FILTERBAR. The HDS_FILTERBAR style adds a row below the header control consisting of an edit control and a funnel icon. The funnel icon presumably represents a coffee filter, because after all, everybody in the world drinks coffee as much as people in Seattle. (Developers think they&#8217;re [&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":[2],"class_list":["post-8223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>Mike Dunn was curious about the intended purpose of HDS_FILTERBAR. The HDS_FILTERBAR style adds a row below the header control consisting of an edit control and a funnel icon. The funnel icon presumably represents a coffee filter, because after all, everybody in the world drinks coffee as much as people in Seattle. (Developers think they&#8217;re [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8223","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=8223"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8223\/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=8223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=8223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=8223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}