Application not front-most anymore
depstein at att.net
depstein at att.net
Tue Nov 4 20:17:36 EST 2003
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.
More information about the metacard
mailing list