home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!oceania!john
- From: john@oceania.com (John Robison)
- Subject: Re: Updating workspace file viewer.
- Message-ID: <BszHzr.15y@oceania.com>
- Sender: john@oceania.com (John Robison)
- Reply-To: john@oceania.com
- Organization: Oceania Health Care Systems
- References: <1992Aug14.124045.10555@dartvax.dartmouth.edu>
- Distribution: na
- Date: Fri, 14 Aug 1992 17:31:02 GMT
- Lines: 25
-
- Michael Glenn writes
- >
- > 2) How to "poke" the workspace manager to tell it that it needs to
- update
- > the file viewer.
- >
- I saved the posting from Scott Meyer, cause I knew it would come
- in handy. He suggests this (for 2.0):
-
- {
- id speaker;
-
- speaker = [NXApp appSpeaker];
- [speaker setSendPort:NXPortFromName(NX_WORKSPACEREQUEST, NULL)];
- msg_status = [speaker performRemoteMethod:"updateViewers"];
- }
-
- Regards,
-
- John
- --
- John Robison - john@oceania.com
- NeXTMail Gladly Accepted
- --> What I say has absolutely nothing to do with
- my employer. They don't even know I am posting. <--
-