Mailing Lists: Apple Mailing Lists

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

Alert box locks up app.



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.

I've played around with doing a bunch of other calls right before doing the
RunStandardAlert (for example ActivateWindow), but nothing has mattered.

I tried setting up a filter procedure for the RunStandardAlert, in hopes I
could add something to activate the buttons when the alert window appears, but
that just results in an empty alert box even though my routine just calls the
standard filter procedure.

What can be making the buttons be unusable? When I need to put up an alert box,
it has to just appear, no questions asked, regardless of what any other windows
are doing.

Thanks,
Russ Andersson


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
 _______________________________________________
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.