I have a modal dialog window that "pops up" at some time. I am doing
the modal session with [NSApp runModalForWindow:window].
If the user has clicked into the menu bar just before this modal
window opens, the menu is hanging down and can not be closed before
the modal window is closed.
You probably shouldn't be putting up a modal dialog from within the
menu-tracking runloop mode. You can use -
performSelector:withObject:afterDelay:inModes: to defer the call that
opens the modal dialog; use a delay of 0.0 but a modes array that
includes only the default runloop mode.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden