Hello all,
I wonder if it is possible to obtain the Z-Order of the windows that are opened in the GUI? Or at least stop windows from being brought to the front by clicking on them? I open 2-3 windows sometimes and currently it is basically impossible to determine which window should receive a mouseclick when they overlap. I can of course determine in which window a mouseclick is, but if they overlap, I also need to know which one is on top.
Thanks
How to obtain Windows Z order
the list of children is rendered sequentially so the last in the list will be the top one, so the list of children must be checked from back to front.
You don't need to do it yourself, you can use getElementFromPoint
You don't need to do it yourself, you can use getElementFromPoint