Need to get mouse move events in background? Solution here

One of my apps (iClip) is constantly running in the background and needs to learn if the mouse gets moved over its window. Before Xojo r3 this was no problem, but now we get neither MouseEnter nor MouseExit nor MouseMove events for that any more unless the app is frontmost.

I could not find any mentioning in the release notes about this, but I was told that this was done on purpose to decrease CPU usage for Xojo apps in background.

I have now implemented a “CustomMouseTracker” class that you can use to get those events back. I’ve attached a demo project to this bug report:

<https://xojo.com/issue/31424>

Enjoy.