How know if a stack is maximized ?

Trevor DeVore lists at mangomultimedia.com
Tue Oct 9 15:56:09 EDT 2007


On Oct 9, 2007, at 3:44 PM, Malte Brill wrote:

> n openStack
>   set the uIsMaximized of this stack to false
> end openStack
>
> on resizestack
>   if item 2 of the mouseLoc<=0 and item 1 of the mouseLoc < the  
> right of this cd - 4 then
>  -- maximize button clicked
>     set the uIsMaximized of this stack to not the uIsMaximized of  
> this stack
>   else
> -- other means of resizing
>   end if
>   pass resizeStack
> end resizestack

Tricky :-)

On Windows I think this would fail if the user right-clicked on the  
task bar icon and selected Maximize though.

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com





More information about the use-livecode mailing list