home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5612 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.0 KB  |  39 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!oceania!john
  3. From: john@oceania.com (John Robison)
  4. Subject: Re: Updating workspace file viewer.
  5. Message-ID: <BszHzr.15y@oceania.com>
  6. Sender: john@oceania.com (John Robison)
  7. Reply-To: john@oceania.com
  8. Organization: Oceania Health Care Systems
  9. References: <1992Aug14.124045.10555@dartvax.dartmouth.edu>
  10. Distribution: na
  11. Date: Fri, 14 Aug 1992 17:31:02 GMT
  12. Lines: 25
  13.  
  14. Michael Glenn writes
  15. > 2) How to "poke" the workspace manager to tell it that it needs to  
  16. update  
  17. > the file viewer.
  18. I saved the posting from Scott Meyer, cause I knew it would come
  19. in handy. He suggests this (for 2.0):
  20.  
  21.    {
  22.       id  speaker;
  23.  
  24.       speaker = [NXApp appSpeaker];
  25.       [speaker setSendPort:NXPortFromName(NX_WORKSPACEREQUEST, NULL)];
  26.       msg_status = [speaker performRemoteMethod:"updateViewers"];
  27.    }
  28.  
  29. Regards,
  30.  
  31. John
  32. -- 
  33. John Robison - john@oceania.com
  34. NeXTMail Gladly Accepted
  35. --> What I say has absolutely nothing to do with
  36. my employer. They don't even know I am posting. <--
  37.