How to detect zoombox click

dunbarx at aol.com dunbarx at aol.com
Sun Jul 17 23:37:24 EDT 2011


Odd. On my mac this message is not sent. I think this can be used to advantage. But if you have other platforms to worry about, and you are correct in that the message is  in fact sent there, then no good.


But why would this behavior be platform specific?


Craig Newman





-----Original Message-----
From: Bill Vlahos <bvlahos at mac.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Jul 17, 2011 12:14 pm
Subject: Re: How to detect zoombox click


Actually in Linux and Windows if you resize the left side (maybe the top too but 
I didn't check that) it also generates both messages. That means I can't 
reliably tell the difference between a zoombox click and resizing the left side.

Is there an Event Manager in LC? I can flushEvents but I don't know how to see 
them.

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Jul 16, 2011, at 8:01 PM, DunbarX at aol.com wrote:

> A  movestack message is also sent. Not sure why, though.
> 
> 
> Might this help, since resizing the window manually does not send this 
message?
> 
> 
> Craig Newman
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Bill Vlahos <bvlahos at mac.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Fri, Jul 15, 2011 6:57 pm
> Subject: How to detect zoombox click
> 
> 
> I want to detect when a user clicks the zoombox (green light on a Mac) and do 
> something similar to iTunes where if you click the zoombox the program doesn't 

> just resize itself but goes into a different mode.
> 
> The only message I see is a resizeStack message but that happens if the user 
> resizes the window manually.
> 
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important life 
> information with you, accessible, and secure.
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list