🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1144

Re: Updating workspace file viewer.

#1144
From: John Robison
Date: Fri, 14 Aug 1992 17:31
25 lines
1070 bytes
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. <--
Technical Details
Message-ID: <BszHzr.15y@oceania.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!oceania!john
References: <1992Aug14.124045.10555@dartvax.dartmouth.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!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