How to handle 'movestack' ??

Chipp Walters chipp at
Sat Jun 15 13:38:01 EDT 2002


Thanks for your thoughts, and sorry for the mutiple posts...a mailserver
What I'm trying to accomplish is the illusion of creating a 'transparent'
windwow, where after moved, moves offscreen, grabs what's underneath (import
snapshot) put's it on the stack and moves in back onscreen --- all quickly!
Works great in Linux, but doesn't work at all on PC. I surprised that MC/RR
doesn't have a "on moveStackDone" type of event.


-----Original Message-----
From: use-revolution-admin at
[mailto:use-revolution-admin at]On Behalf Of Dar Scott
Sent: Saturday, June 15, 2002 1:21 PM
To: use-revolution at
Subject: Re: How to handle 'movestack' ??

On Saturday, June 15, 2002, at 07:05 AM, Chipp Walters wrote:

> I want to fire a custom handler at the end of a movestack, but
> movestack on
> the PC fires continually while you movestack until you mouseUp.
> The mouseUp
> can't be trapped because the cursor is outside the stack (on the
> titlebar).
> Any ideas on how this can be accomplished??

This is probably not the way an expert would do it, but here is an idea.

Run the handler when movestack stops firing.

Send a delayed message every time movestack fires.  Either get rid
of old ones or have some sort of check in the message handler.
When the message handler runs and movestack has not fired in some
period, it calls your custom handler.

Another thought...  Does your custom handler really care?

Dar Scott

use-revolution mailing list
use-revolution at

More information about the use-livecode mailing list