Re: Managing maximized windows on MacOS

2019-11-20 Thread Giovanni via use-livecode
Hi Paul, thanks for your reply but unfortunately this workaround cannot suit the need for different reasons: - the stacks that have a maxHeight lower than the height resolution of the screen will not be triggered by this condition; - the condition that you suggest can be triggered manually in oth

Re: Managing maximized windows on MacOS

2019-11-20 Thread Paul Dupuis via use-livecode
On 11/20/2019 3:45 AM, Giovanni via use-livecode wrote: Hi everybody, as already said the main problem is that there is no way to intercept the maximization action and to understand if the window is maximized or not. screenrects or windowBoundingRect are not useful in this case mainly when the

Re: Managing maximized windows on MacOS

2019-11-20 Thread Giovanni via use-livecode
Hi everybody, as already said the main problem is that there is no way to intercept the maximization action and to understand if the window is maximized or not. screenrects or windowBoundingRect are not useful in this case mainly when the maximized window has a maxWidth or maxHeight value lower t

Re: Managing maximized windows on MacOS

2019-11-11 Thread Paul McClernan via use-livecode
I ran into this myself recently. LiveCode sends a resizeStack message when you click the maximize "zoom box" button which you can intercept, but there's no way to verify that it was the fullscreen zoom button that generated the message. It would be nice if LC had the opposite of it's iconifyStack /

Re: Managing maximized windows on MacOS

2019-11-04 Thread Brian Milby via use-livecode
Thanks for that link hh... I had researched this a while back and actually looked at the source code. I knew about the modifier key, but didn't know about the double click. So, you can hold the option key down when hovering over the green dot to get the maximize "+" action. You can also double c

Re: Managing maximized windows on MacOS

2019-11-04 Thread hh via use-livecode
Did you already see the new https://support.apple.com/en-ie/guide/mac-help/mchlp2469/mac Such "features" override LC settings (on MacOS 10.14/10.15). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc

Re: Managing maximized windows on MacOS

2019-11-04 Thread Paul Dupuis via use-livecode
I'd like to know this too. I'd love to see a way to better control maximizing a window. the windowBoundingRect is a little out of date. 1) It only applies to the primary monitor (any platform) and I am finding a lot more of our customers have multiple monitors these days (usually a laptop with

Managing maximized windows on MacOS

2019-11-04 Thread Giovanni via use-livecode
Hi guys, from MacOS Mojave and on when you maximize a window (clicking on “+” button on windows main bar) the system maximize the window on the entire screen hiding all the system bars and moving the window on a different “virtual” space. Is there a way using LC to manage this window status? It’