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