home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12808 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.1 KB  |  27 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!darwin.sura.net!mips!sdd.hp.com!zeus.ieee.org!fsbbs!f204.n2603.z1.ieee.org!Tommy.Brown
  3. From: Tommy.Brown@f204.n2603.z1.ieee.org (Tommy Brown)
  4. Subject: updating finder windows
  5. Message-ID: <15246.2A6C9813@zeus.ieee.org>
  6. Sender: news
  7. Organization: FidoNet node 1:2603/204 - Not Even Odd, Forest Hills NY
  8. Date: Mon, 20 Jul 1992 22:05:00 GMT
  9. Lines: 16
  10.  
  11. I don't think that you CAN get the Finder to update the window immediately,
  12.  
  13. because as far as I know, the Finder just doesn't constantly poll the disk to
  14. see if anything's been changed. The only thing I can think of is if you were
  15.  
  16. somehow able to get a WindowPtr to the window that the file's in. Then you
  17.  
  18. could call InvalRect, either over the whole window or just the rectangle of
  19.  
  20. the icon which you want to change, which I believe you can get by calling
  21.  
  22. GetFInfo. How to get a WindowPtr to the correct window, though, I don't know. 
  23.  
  24. --  
  25. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  26.  Tommy Brown - Internet: Tommy.Brown@f204.n2603.z1.ieee.org
  27.