• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Displaying an alert box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying an alert box


  • Subject: Re: Displaying an alert box
  • From: David McCabe <email@hidden>
  • Date: Sun, 14 Oct 2001 14:31:18 -0700

Uh...yeah. So, how does this all translate into some code that a beginner can use?

On Sunday, October 14, 2001, at 03:27 AM, Finlay Dobbie wrote:

On Sunday, October 14, 2001, at 12:16 pm, Ondra Cada wrote:

Alerts and other modal windows did appear by default in a frontmost tier in
NeXTStep. 10.0 gravely lacked the feature.

No, it didn't. From the release notes of 10.1:

If an inactive app presents a modal panel, we call -[NSApp requestUserAttention:NSCriticalRequest] automatically for the application. The modal panel is no longer brought to the front (using NSModalPanelWindowLevel) for an inactive application.

(admittedly NSModalPanelWindowLevel isn't always frontmost, there are lots of things above it like the dock and screensavers and so on).

You can make it appear at NSModalPanelWindowLevel by setting the windowlevel yourself, of course.

--
David McCabe
http://homepage.mac.com/davidmccabe/
'finger email@hidden' for PGP key.
No PGP sig because it's broken. Will fix soon.
Wrfhf ybirf lbh!


References: 
 >Re: Displaying an alert box (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Dragging from Finder into View
  • Next by Date: Re: Displaying an alert box
  • Previous by thread: Re: Displaying an alert box
  • Next by thread: Re: Displaying an alert box
  • Index(es):
    • Date
    • Thread