• 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: Finlay Dobbie <email@hidden>
  • Date: Sun, 14 Oct 2001 11:27:24 +0100

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.

-- Finlay


  • Follow-Ups:
    • Re: Displaying an alert box
      • From: David McCabe <email@hidden>
References: 
 >Re: Displaying an alert box (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: shell command line vars
  • Next by Date: Re: Aliases & fileAttributesAtPath:
  • Previous by thread: Re: Displaying an alert box
  • Next by thread: Re: Displaying an alert box
  • Index(es):
    • Date
    • Thread