Prevent someone from dragging a toplevel window, or...

Jan Schenkel janschenkel at yahoo.com
Sun May 1 17:50:55 EDT 2005


--- Ken Ray <kray at sonsothunder.com> wrote:
> 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
> 

Since it's MacOSX only, you could try a drawer ?
Unless it can't be hooked up to the other window, that
is.

Jan Schenkel.

Quartam - Tools for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the use-livecode mailing list