Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: run event loop



On Tue, 08 Mar 2005 15:28:39 -0500, walterw <email@hidden> wrote:

> I need to display a window while processing an apple event.  I also
> need to wait for the window to be dismissed before the apple event can
> return.
>
> I thought I could use RunAppModalLoopForWindow but I also need to have
> the menubar enabled.
>
> Anyone have any suggestions on how this should be done?  Can the
> menubar be enabled?

What you need to do is suspend the Apple Event and return control to your
event loop until the window is dismissed at which time you resume the Apple
Event and reply to it.

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.