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?
When you use RunAppModalLoopForWindow on a window you are essentially
making it a modal dialog. I'm not aware of how you can make the
menubar active, nor would you really want to do that if the window is
suppose to be modal.
You can still install event handlers on the window and respond to those
without the RunAppModalLoopForWindow call. RunApplicationEventLoop
will properly handle calling your event handlers that you've attached
to your window. It will also handle selections from the menubar.
Mike
_______________________________________________
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