Maximize a window

Bill Vlahos bvlahos at mac.com
Wed Sep 3 02:18:10 EDT 2008


Eric,

Good suggestions. Thanks.

Bill Vlahos

On Sep 2, 2008, at 2:31 AM, Eric Chatonet wrote:

> 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/
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list