{"id":7153,"date":"2012-07-11T07:00:00","date_gmt":"2012-07-11T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2012\/07\/11\/what-does-the-htobject-hit-test-code-do\/"},"modified":"2012-07-11T07:00:00","modified_gmt":"2012-07-11T07:00:00","slug":"what-does-the-htobject-hit-test-code-do","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20120711-00\/?p=7153","title":{"rendered":"What does the HTOBJECT hit-test code do?"},"content":{"rendered":"<p>\nLeo Davidson observes that\n<a HREF=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2011\/02\/18\/10131176.aspx#10131439\">\na hit-test code is defined for\n<code>HTOBJECT<\/code><\/a>, but it is not documented, and wonders\nwhat&#8217;s up.\n<\/p>\n<pre>\n#define HTOBJECT            19\n<\/pre>\n<p>\nThe <code>HTOBJECT<\/code> is another one of those features\nthat never got implemented.\nThe code does nothing and nobody uses it.\nIt was added back in Windows&nbsp;95 for reasons lost to the\nmists of time,\nbut when the reason for adding it vanished (maybe a feature got cut),\nit was too late to remove it from the header file because that would\nrequire renumbering <code>HTCLOSE<\/code> and <code>HTHELP<\/code>,\ntwo values which were in widespread use already.\nSo the value just stayed in the header file,\n<a HREF=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2007\/10\/25\/5658731.aspx\">\ntaking up space but accomplishing nothing<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Leo Davidson observes that a hit-test code is defined for HTOBJECT, but it is not documented, and wonders what&#8217;s up. #define HTOBJECT 19 The HTOBJECT is another one of those features that never got implemented. The code does nothing and nobody uses it. It was added back in Windows&nbsp;95 for reasons lost to the mists [&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-7153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>Leo Davidson observes that a hit-test code is defined for HTOBJECT, but it is not documented, and wonders what&#8217;s up. #define HTOBJECT 19 The HTOBJECT is another one of those features that never got implemented. The code does nothing and nobody uses it. It was added back in Windows&nbsp;95 for reasons lost to the mists [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/7153","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=7153"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/7153\/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=7153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=7153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=7153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}