chkaufmann 17 Posted May 5, 2020 In my application I have a TApplicationEvents object and there I use the OnMessage event. I was wondering why this event is called all the time even then when I don't touch the mouse and/or the keyboard. Now I noticed that WM_MOUSEMOVE are sent all the time. Is this normal - probably not - but how can I find out, where these messages come from. As soon as I move the mouse cursor outside of my applications window the messages stop. Christian Share this post Link to post
Tntman 14 Posted May 5, 2020 (edited) Maybe try to unplug your mouse to see it you are still going to trigger it ? Maybe your mouse is too sensitive and you cant notice that with your eyes I cant give you other suggestion but this is what came on my mind Edited May 5, 2020 by Tntman Share this post Link to post
Anders Melander 1795 Posted May 5, 2020 There are a lot of things that can cause this. Probably something you have running on your system. Might even be the debugger. https://devblogs.microsoft.com/oldnewthing/20160616-00/?p=93685 https://devblogs.microsoft.com/oldnewthing/20031001-00/?p=42343 Share this post Link to post