Re: How to detect zoombox click

2011-07-17 Thread Shao Sean
Now that Lion will allow resizing from any window edge, how are the messages on that being sent? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: htt

Re: How to detect zoombox click

2011-07-17 Thread dunbarx
Message- From: Bill Vlahos To: How to use LiveCode 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 rel

Re: How to detect zoombox click

2011-07-17 Thread Bill Vlahos
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'

Re: How to detect zoombox click

2011-07-17 Thread Bill Vlahos
It seems to me like LC already knows what the zoombox is supposed to do and just does it. I was hoping there would be a specific message generated for it. Maybe they just did the expected behavior instead of generating a message. Bill Vlahos _ InfoWallet (http://www.infowallet.co

Re: How to detect zoombox click

2011-07-16 Thread Ken Ray
Bill, I have this in my Scripter's Scrapbook, but admittedly it's from 2006 so it may not work... but give it a shot, it detects a maximized and restored window: on resizeStack newW,newH,oldW,oldH if the platform is "MacOS" then put 20 into tAdjust else put 0 into tAdjust if newW = (item 3

Re: How to detect zoombox click

2011-07-16 Thread Shao Sean
I know Mac OS X sends a message for each of the window buttons and I am pretty sure that Windows does as well.. Could be a simple external for someone to write or for Rev to add it to the engine themselves.. ___ use-livecode mailing list use-livecod

Re: How to detect zoombox click

2011-07-16 Thread Bill Vlahos
Craig, That is interesting. Dragging the stack window also generates a movestack message just like resizing a window generates a resizestack message. Is there a way to test for a simultaneous movestack and resizestack messages? Unless I find a unique message for that control detecting simultan

Re: How to detect zoombox click

2011-07-16 Thread dunbarx
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 To: How to use LiveCode Sent: Fri, Jul 15, 2011 6:57 pm Subject: How to detect zoombox click