Prevent someone from dragging a toplevel window, or...
Ken Ray
kray at sonsothunder.com
Sun May 1 14:29:40 EDT 2005
On 5/1/05 3:16 AM, "MisterX" <b.xavier at internet.lu> wrote:
> Hi Ken
>
> you need to implement a movewindow frontscript in a plugin stack that
> filters the windows to prevent or pass the message.
>
> local blockedlist
> on movewindow
> if blockedlist is empty then updateblockedlist
> if the defaultstack is not in blockedlist then
> pass movewindow
> end movewindow
>
> Cool script, I like it! ;)
Thanks, Xavier, but the problem is that it doesn't work... remember this is
for OS X, where the moveWindow message is only sent when you are done
moving, not *while* you're moving (like it is in Windows).
Any other ideas? Anyone?
:-)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list