Application not front-most anymore

Karl Becker karl at karlbecker.com
Sat Nov 8 16:43:57 EST 2003


Whoa, thank you   :-)

I was experiencing exactly the problem you're talking about, and I 
wasn't sure what to do.  I just gave up on the problem - but now I'll 
attack that again and make my game better again!

Karl


On Tuesday, November 4, 2003, at 02:17 PM, depstein at att.net wrote:

> I think you want "suspend" and "resume" (not "suspendStack"
> and "resumeStack").  MC 2.5's help stack treats each of these pairs as
> synonyms, but this looks like an error.  My experience is that 
> "suspendStack"
> is sent whenever you leave a stack (to go to another stack, or to 
> another
> application); and that "suspend" is sent only when you go to another
> application.  And that the same distinction applies to "resumeStack"
> and "resume."  If you don't want to catch the stack-switching within 
> MC or
> your application, use "suspend" and "resume."
>
> David Epstein
>
>>> How do I catch when my application (or MetaCard itself) is no longer
>>> the front-most application  (I'm using Mac OS X, but on any platform
>>> would be fine - I believe there's a MetaTalk command that does it)  ?
>>>
>>> Similarly, how about when it again becomes the front-most app?
>>
>> See the suspendStack and resumeStack messages.
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>



More information about the metacard mailing list