Detect when mouse leaves program window
#4
(08-16-2023, 03:22 PM)Dav Wrote: I was waiting for Spriggsy to jump in here first because his API knowledge is heaps more than mine.  There's probably a better API way of doing this, but here's a quick way off the top of my head - using the GetCursorPos API. 

- Dav

Thanks Dav. Very simple and exactly what's needed.

How about you Linux users? Any ideas how to get this functionality in Linux as well?
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
RE: Detect when mouse leaves program window - by TerryRitchie - 08-16-2023, 05:00 PM



Users browsing this thread: 5 Guest(s)