Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / November 2004



Tip: Looking for answers? Try searching our database.

Problem with StandardAlert() API

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Niket - 30 Nov 2004 07:06 GMT
hi
this is niket .
i'm developing an application in a carbon environment.
i'm using Xcode 1.5.
i'm using OS10.3.5
here is the problem.

i use StandardAlert(...) to create an alert.
i also provide AlertParams correctly.
as far as i know every thing is at it's place.
BUT the problem is when an alert window is shown on the screen i can
not close it.
what i have to do to close the same is i have to make any other window
active (by manually clicking on any other application window)
and then come back to alert window and then only i can  close the
alert .
otherwise it does not get closed at all.

i'm looking forward to get help from u people.
plz reply asap.

thanks and regards
Niket.
Miro Jurisic - 30 Nov 2004 07:16 GMT
> i use StandardAlert(...) to create an alert.
> i also provide AlertParams correctly.
[quoted text clipped - 6 lines]
> alert .
> otherwise it does not get closed at all.

I am somewhat confused, because:

1. Normally, one does not close an alert. To close a window means to use its
close box (which an alert shouldn't have) or the Close menu command (which an
alert should disable). You probably mean to say that you can't dismiss the
alert, which you normally do by clicking the OK or the Cancel button?

2. An alert created with StandardAlert is normally modal, so it should be
impossible for you to activate any other application window while an alert is in
the front. Are you really able to select other windows while the alert is up? If
so, that seems really wrong

Finally, let's see some code; it's hard to debug in the dark.

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.