View Single Post
Old 01-05-2020, 11:24 AM   #1
Human being with feelings
Fabian's Avatar
Join Date: Sep 2008
Location: Sweden
Posts: 5,710
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, 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.

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