home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!codex!cdb
- From: cdb@codex .oz.au (Cameron Bromley)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: NXRunAlertPanel
- Message-ID: <1992Aug31.081155.1222@codex.oz.au>
- Date: 31 Aug 92 08:11:55 GMT
- References: <17pp4hINNajo@darkstar.UCSC.EDU>
- Sender: cdb@codex.oz.au (Cameron Bromley)
- Organization: Codex Software Development Pty Ltd
- Lines: 32
-
- In article <17pp4hINNajo@darkstar.UCSC.EDU> alvin@cse.ucsc.edu (Alvin Jee)
- writes:
- > Hello!
- >
- > I'm trying to use an alert panel via the NXRunAlertPanel function, but
- > I get the following message on the console:
- >
- > Aug 29 22:45:56 cheddar syslog: Cannot load Interface Builder file:
- > /usr/lib/NextStep//AlertPanel.nib
- >
- [deleted]
- > Nothing fancy here. Do I need to actually make an NXApp and run the
- > event loop and all that to get it to work? Oh, I almost forgot, I'm
- > running 2.1 on an '030 cube. I also checked for the nib and it's there
- > and is readable by everybody.
- >
- > Alvin Jee
- > alvin@cse.ucsc.edu
-
- I'd say that you need to be an NXApp to call NXRunAlert since it sets up a
- modal event loop, which implies there must be an event loop to filter.
-
- One workaround is to write a (very) small app which takes as a command line
- argument some message text. The app would just call NXRunAlert and then quit.
-
-
-
- --
- ---------------------------------------------------------------
- Cameron Bromley Internet: cdb@codex.oz.au
- Codex Software Development Pty. Ltd. NextMail encouraged
- Phone +61-3-696-2490 Fax +61-3-696-6757
-