Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect when mouse leaves program window
#12
(08-16-2023, 06:24 PM)TerryRitchie Wrote:
(08-16-2023, 06:09 PM)Dav Wrote: 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
I was just googling and came across that same API call. I'm like a lost puppy when it comes to working with APIs in QB64 however, something I need to learn and then create a tutorial lesson for others with the same issue.
Eager to follow that tutorial and become less lost with your help. Smile
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


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



Users browsing this thread: 1 Guest(s)