Prevent someone from dragging a toplevel window, or...
MisterX
b.xavier at internet.lu
Sun May 1 04:16:21 EDT 2005
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! ;)
Cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray
> Sent: Sunday, May 01, 2005 09:43
> To: Use Revolution List
> Subject: Prevent someone from dragging a toplevel window, or...
>
> Does anyone know of a way to either:
>
> (a) Prevent someone from dragging a window that is a toplevel
> window (without a "snapback" solution of resetting the window
> after the drag is complete); or
>
> (b) Move one stack smoothly at the same time as another stack
> is being dragged by its titlebar?
>
> This is Mac OS X only...
>
> Thanks for any suggestions,
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list