How know if a stack is maximized ?

Trevor DeVore lists at
Tue Oct 9 12:25:35 EDT 2007

On Oct 9, 2007, at 12:11 PM, Richard Gaskin wrote:

> Wouldn't a stack be maximized when it's rect equals the current  
> windowBoundingRect?

It might be maximized in the sense that the stack is the maximum  
height/width of the windowBoundingRect but it might not be maximized  
in terms of whether or not the user clicked the zoom button on OS X  
or the Maximize button on Windows.

Take this for example -

I open Notepad on Windows. I resize the window with my document just  
how I want it. I close Notepad and the next time I reopen it the  
window is just how I left it. I then click the Maximize button and  
the Notepad window fills the screen. If I quit Notepad and relaunch  
the window does not reopen to fill the entire screen but rather that  
size it was before I clicked the maximize button.

Is there an easy way to reproduce this behavior with Revolution since  
there is no property which reports that a stack is  
'maximized' (though we do have an 'iconic' property)? The user may  
have manually resize the window to fill the screen, in which case you  
should restore the window to that size the next time your app  
launches, or they may have used the maximize button to fill the  
screen in which case you should restore the window to the size it was  
prior to clicking the maximize button.

I filed an enhancement request for this but if I'm missed something  
obvious I would love to know.


Trevor DeVore
Blue Mango Learning Systems    -

More information about the Use-livecode mailing list