How to handle 'movestack' ??

Chipp Walters chipp at chipp.com
Sat Jun 15 13:38:01 CDT 2002


Dar,

Thanks for your thoughts, and sorry for the mutiple posts...a mailserver
problem...
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.


-chipp


-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dar Scott
Sent: Saturday, June 15, 2002 1:21 PM
To: use-revolution at lists.runrev.com
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 lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list