Prev Previous Post   Next Post Next
Old 01-05-2020, 11:24 AM   #1
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 5,720
Default How to know when script windows is partially covered...?

Is there any way to know when my script window is covered (partially or fully) by another window?

The reason is that I do not want to respond to mouse movements that occur in a window that covers mine. I have currently found no way of avoiding this.

As an example using Mespotine's mouse hover example of this thread https://forum.cockos.com/showthread.php?t=224666, we see here that even when dragging the sliders of the JSFX window on top of the script window, the script gets the mouse events.



I know how to check if the script window is docked and visible, or undocked and focused, which are the two cases when I should respond to mouse events, unless those events occur in a window covering my script window. And that last part is my problem.

Anyone?
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...

Last edited by Fabian; 01-05-2020 at 01:43 PM. Reason: Added link for Mespotine's mouse hover example
Fabian is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.