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