Detect when mouse leaves program window
#6
Yeah I guess we will have to account for the title bar height.  There's an API called GetSystemMetrics that can be used for that kind of information:
https://learn.microsoft.com/en-us/window...temmetrics

I'm getting ready to leave, so I don't have time to whip something up with it.  I'll try to get on it when getting back home.

Here's some VB code to look at to give you an example: http://allapi.mentalis.org/apilist/7D8B6...CE469.html


- Dav

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
RE: Detect when mouse leaves program window - by Dav - 08-16-2023, 06:09 PM



Users browsing this thread: 7 Guest(s)