I am calling CreateStandardAlert then RunStandardAlert. It works fine
some of
the time, but when this alert code runs when a dialog box is already
being
displayed with its own message loop, the alert window appears and
looks OK, but
it is impossible to click any of the buttons, and the only
alternative is to
Force Quit.
Is this other dialog box above or below (in z-order) the alert
displayed by CreateStandardAlert?
The Dialog Manager, which is used by RunStandardAlert, requires that
the alert be the active window; it's possible that this is not the case
for some reason (although it should happen automatically). You could
ssh into your machine while your app is in this state, attach with gdb,
and use "p/x (void*)ActiveNonFloatingWindow()" to see what the active
window is at that moment. If it's not the alert, then that would
explain why the alert is unresponsive.
-eric
_______________________________________________
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