M. Uli Kusterer ([EMAIL PROTECTED]) recycled some electrons by
writing:
> What does the folder manager have to do with notifications?
By "notification" I mean registering a callback proc with the folder
manager.
> Or maybe you meant to say something different and I got it all backwards?
> Could you maybe tell us what you are attempting to do?
Basically, what I'm trying to do is handle asynchronous callbacks by
recording the information into a FIFO event queue, and at idle time
(on Mac available by using an eventfilter) walk through the queue and
call the corresponding events of the class.
OS 9 introduced the Multiple Users feature, where a few different users can
"Log In" to a computer, and get their documents, preferences etc.
If you have a background-only application, you can register a notification
with the folder manager, and every time someone logs in, your bg-only
application will be notified. This means you can do things when users log in
and out. I'm trying to write an application that registers one of these
notifications, and then sends AppleEvents whenever a user logs in/out.
I've got enough C++ source code to do this, but as I don't know much C++,
I've got no idea about putting the code together to get a working
application.
And to make this post more FreeCard-ish.... In REALbasic you can compile
your application, then use ResEdit to set the "Background-only" bit in the
"SIZE" resource to true. You've then got an application extension or a
BG-only app. It would be insanely useful to be able to do this with compiled
HyperCard stacks, but they just crash when you launch them. Would it be
possible to get FreeCard to do this kind of thing?
Stewart
_______________________________________________
Freecard-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freecard-general