Re: Displaying an alert box
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