home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12869 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.4 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ocf.berkeley.edu!ewylie
  2. From: ewylie@ocf.berkeley.edu (Elizabeth Wylie)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: updating finder windows
  5. Date: 22 Jul 1992 20:33:23 GMT
  6. Organization: U. C. Berkeley Open Computing Facility
  7. Lines: 19
  8. Message-ID: <14kgmjINNdm3@agate.berkeley.edu>
  9. References: <15246.2A6C9813@zeus.ieee.org>
  10. NNTP-Posting-Host: monsoon.berkeley.edu
  11.  
  12. In article <15246.2A6C9813@zeus.ieee.org> Tommy.Brown@f204.n2603.z1.ieee.org (Tommy Brown) writes:
  13. >I don't think that you CAN get the Finder to update the window immediately,
  14. >
  15. >because as far as I know, the Finder just doesn't constantly poll the disk to
  16. >see if anything's been changed. The only thing I can think of is if you were
  17. >
  18.  
  19. You'd be surprised what the finder does.  Put a trap break on HFSDispatch sometime.  You'll be surprised.  The finder is constantly cycling through open windows and getting folder dates etc.
  20.  
  21. If you want to force the window to update, change the modification date of the folder containing the item you changed.
  22.  
  23. The finder always updates for me.  Sometime soon I may be posting a small INIT that does this as well as patch a few traps.  The INIT automatically relocates items dropped in a folder.
  24.  
  25. Just to a PBGetCatInfo followed by a PBSetCatInfo.  But remember that the ioDirID field (and a few others, I think) get chewed after the call is complete.
  26.  
  27. -E Wylie
  28.  
  29. and 
  30.  
  31.