{"id":22253,"date":"2008-05-20T10:00:00","date_gmt":"2008-05-20T10:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2008\/05\/20\/the-phantom-bug-why-doesnt-messagebox-work-from-my-wm_ncdestroy-handler\/"},"modified":"2008-05-20T10:00:00","modified_gmt":"2008-05-20T10:00:00","slug":"the-phantom-bug-why-doesnt-messagebox-work-from-my-wm_ncdestroy-handler","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20080520-00\/?p=22253","title":{"rendered":"The Phantom Bug: Why doesn&#039;t MessageBox work from my WM_NCDESTROY handler?"},"content":{"rendered":"<p> <a href=\"http:\/\/www.adrianmccarthy.com\/\"> Adrian McCarthy<\/a> ran into a problem where <a href=\"http:\/\/www.adrianmccarthy.com\/blog\/?p=51\"> <code>MessageBox<\/code> didn&#8217;t work when called from a <code>WM_NCDESTROY<\/code> handler<\/a>. You already know how to solve this; you just have to connect the dots. See if you can do it on your own before <a href=\"http:\/\/www.adrianmccarthy.com\/blog\/?p=52\"> the answer is revealed<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adrian McCarthy ran into a problem where MessageBox didn&#8217;t work when called from a WM_NCDESTROY handler. You already know how to solve this; you just have to connect the dots. See if you can do it on your own before the answer is revealed.<\/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":[25],"class_list":["post-22253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>Adrian McCarthy ran into a problem where MessageBox didn&#8217;t work when called from a WM_NCDESTROY handler. You already know how to solve this; you just have to connect the dots. See if you can do it on your own before the answer is revealed.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/22253","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=22253"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/22253\/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=22253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=22253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=22253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}