Maximize a window
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Sep 2 05:31:06 EDT 2008
Bonjour Bill,
See maxHeight, maxWidth, screenRect, windowBoundingRect and rect (of
stack).
Le 2 sept. 08 à 09:01, Bill Vlahos a écrit :
> What is the command to maximize a window? The maximize icon in
> Windows doesn't behave the same as the green button on the Mac.
>
> In Windows, the maximize button makes the window take over the
> entire screen in a single application mode. The other button makes
> it a resizable window. My application remembers the size of the
> window and if the last monitor was larger than the current one the
> resizable window is too big and i can't resize it.
Just test the windowBoundingRect at preOpenStack and set the
maxHeight and maxWidth accordingly.
> On a Mac the Green button either makes the window fit the screen or
> fit the content.
>
> I think I want a "Zoom" button in Windows to make the resizable
> window fit the screen. What command would that be?
Same comment :-)
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list