{"id":27,"date":"2009-06-04T12:16:39","date_gmt":"2009-06-04T12:16:39","guid":{"rendered":"http:\/\/jcrawfor74.wordpress.com\/?p=27"},"modified":"2009-06-04T12:16:39","modified_gmt":"2009-06-04T12:16:39","slug":"xp-mousemove-event-fired-repeatedly-by-file-search-animation","status":"publish","type":"post","link":"https:\/\/ntsblog.homedev.com.au\/index.php\/2009\/06\/04\/xp-mousemove-event-fired-repeatedly-by-file-search-animation\/","title":{"rendered":"XP &#8211; MouseMove Event fired repeatedly by File Search Animation"},"content":{"rendered":"<div id=\"ntsbl-1937868767\" class=\"ntsbl-before-content ntsbl-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6288941070289539\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-6288941070289539\" \ndata-ad-slot=\"9356781486\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>This is a bug with windows XP, caused by the dog\u00a0animation, that appears by default when you perform a file search.<\/p>\n<p>I had a standard Windows Form Application with a\u00a0ListView control on it. I setup a MouseMove event on the control.<\/p>\n<p>The normal way this operates is as you move the mouse over the control the MouseMove event fires. Stop moving the mouse and the event does not fire. Seems simple.<\/p>\n<p>Today however I noticed that the MouseMove event was firing repeatedly, even when the mouse was not moving!!<\/p>\n<p>I wrote a very simple windows form test app with only this code and put debug logging on the MouseMove event and found that it was not happening on some other machines.<\/p>\n<p>On the machine where things were going pear shaped I started closing applications until the only things open were some folders that I had been using, and the test app. It was still doing it. I closed all the folders and the MouseMove event stopped firing.<\/p>\n<p>I tracked it down to the following:<\/p>\n<ol>\n<li>Open an file explorer window &#8211;&gt; no problem<\/li>\n<li>Press Ctrl + F (find) (the dog annimation apears) &#8211;&gt; problem the MouseMove event fires repeatedly even when the mouse is stationary over the control with the MouseMove event<\/li>\n<li>Go &#8220;Change Preferences&#8221;, and choose &#8220;Without an animated screen character&#8221;, the dog buggers off and &#8211;&gt; No problem.<\/li>\n<\/ol>\n<p>The animation must be taking control of the mouse and when it gives it back to my form it causes the mouse move event to fire.<\/p>\n<p>Thats 1.5 hours of my life I will never get back.<\/p>\n<p>Thanks Microsoft \ud83d\ude1b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a bug with windows XP, caused by the dog\u00a0animation, that appears by default when you perform a file search. I had a standard [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-windows-forms"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}